"Robert P. J. Day" <rpj...@crashcourse.ca> writes: > currently working my way thru the manual and section 1.3, > "Activation", explains how to add a line to your .emacs file to > guarantee that any ".org" file will open in org mode. > > but as far as i can tell, as long as org-mode is installed, that > will happen, anyway, won't it? i've tested it with an empty .org file > and i get org mode automatically. > > isn't it worth mentioning that? or am i misreading something?
It is meant for users who are using Org with a version of Emacs that is released before 2007-11-09. That is really an Emacs that is half-a-decade old. ,---- C-h v auto-mode-alist | === modified file 'lisp/files.el' | --- lisp/files.el 2007-11-09 10:38:50 +0000 | +++ lisp/files.el 2007-11-10 17:20:37 +0000 | @@ -1964,6 +1964,7 @@ since only a single case-insensitive sea | ("\\.ins\\'" . tex-mode) ;Installation files for TeX packages. | ("\\.ltx\\'" . latex-mode) | ("\\.dtx\\'" . doctex-mode) | + ("\\.org\\'" . org-mode) | ("\\.el\\'" . emacs-lisp-mode) | ("\\.\\(scm\\|stk\\|ss\\|sch\\)\\'" . scheme-mode) | ("\\.l\\'" . lisp-mode) `---- > > rday --