Search code examples
emacsorg-mode

Open other file extensions in org mode


How can I make Emacs open other file extensions than .org with the Emacs org mode? I have an editor on the iPad that is not able to handle .org files, so I'd like to use e.g. .text with org mode.


Solution

  • This might be a duplicate, but the answer is easy enough:

    (add-to-list 'auto-mode-alist '("\\.text\\'" . org-mode))