org.texi (Activation): Adding org-mode to `auto-mode-alist' is not needed for versions of Emacs > 22.1

* org.texi (Activation): Adding org-mode to `auto-mode-alist'
is not needed for versions of Emacs > 22.1.

Thanks to Robert P. J. Day for suggesting this.
This commit is contained in:
Bastien Guerry 2012-09-18 16:21:36 +02:00
parent b81485d5ff
commit c19364464a
1 changed files with 3 additions and 2 deletions

View File

@ -986,8 +986,9 @@ Do not forget to activate Org as described in the following section.
@findex org-store-link @findex org-store-link
@findex org-iswitchb @findex org-iswitchb
To make sure files with extension @file{.org} use Org mode, add the following Since Emacs 22.2, files with the @file{.org} extension use Org mode by
line to your @file{.emacs} file. default. If you are using an earlier version of Emacs, add this line to
your @file{.emacs} file:
@lisp @lisp
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
@end lisp @end lisp