summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-09-29 07:27:51 +0200
committerBastien Guerry <bzg@altern.org>2012-09-29 07:27:51 +0200
commit8e15063364d7f687d7a5ab8be9999dd68a670606 (patch)
tree5e882d4b48e54cc36602b92fb7b6d5b12d9c72d7
parentda606d8aaac0fad7b95248a627012f828b3fd1df (diff)
downloadorg-mode-8e15063364d7f687d7a5ab8be9999dd68a670606.tar.gz
Small fixes to the guide and the manual
* org.texi (Installation, Feedback, Batch execution): Use (add-to-list 'load-path ... t) for the contrib dir. * orgguide.texi (Activation): No need to add org-mode to auto-mode-alist since Emacs 22.2.
-rw-r--r--doc/org.texi6
-rw-r--r--doc/orgguide.texi2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/org.texi b/doc/org.texi
index 57ed1cf..bf484b9 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -936,7 +936,7 @@ If you plan to use code from the @file{contrib} subdirectory without
compiling them, do a similar step for this directory:
@example
-(add-to-list 'load-path "~/path/to/orgdir/contrib/lisp")
+(add-to-list 'load-path "~/path/to/orgdir/contrib/lisp" t)
@end example
If you want to include those files with the build and install, please
@@ -1090,7 +1090,7 @@ is not necessary. In that case it is sufficient to start Emacs as @code{emacs
;; add latest org-mode to load path
(add-to-list 'load-path (expand-file-name "/path/to/org-mode/lisp"))
-(add-to-list 'load-path (expand-file-name "/path/to/org-mode/contrib/lisp"))
+(add-to-list 'load-path (expand-file-name "/path/to/org-mode/contrib/lisp" t))
;; activate org
(require 'org-install)
@@ -14532,7 +14532,7 @@ done
emacs -Q --batch -l $ORGINSTALL \
--eval "(progn
(add-to-list 'load-path (expand-file-name \"~/src/org/lisp/\"))
-(add-to-list 'load-path (expand-file-name \"~/src/org/contrib/lisp/\"))
+(add-to-list 'load-path (expand-file-name \"~/src/org/contrib/lisp/\" t))
(require 'org)(require 'org-exp)(require 'ob)(require 'ob-tangle)
(mapc (lambda (file)
(find-file (expand-file-name file \"$DIR\"))
diff --git a/doc/orgguide.texi b/doc/orgguide.texi
index 1140494..0c6f668 100644
--- a/doc/orgguide.texi
+++ b/doc/orgguide.texi
@@ -287,7 +287,7 @@ yourself.
@smalllisp
;; The following lines are always needed. Choose your own keys.
-(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
+(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) ; not needed since Emacs 22.2
(add-hook 'org-mode-hook 'turn-on-font-lock) ; not needed when global-font-lock-mode is on
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)