aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-30 11:50:27 +0000
committerRichard M. Stallman1994-05-30 11:50:27 +0000
commit9a49418b11a33d8a90ca812395d3de918a672244 (patch)
tree42e21f82223baadd7237444df4f7ef1733752501
parent5c11086b458aa6fa8ae4c6fb37d4ebf088b7fbfe (diff)
downloademacs-9a49418b11a33d8a90ca812395d3de918a672244.tar.gz
emacs-9a49418b11a33d8a90ca812395d3de918a672244.zip
(Info-default-directory-list): Don't attach ../info.
So now configure-info-directory comes last. Put /usr/local/info second.
-rw-r--r--lisp/paths.el17
1 files changed, 9 insertions, 8 deletions
diff --git a/lisp/paths.el b/lisp/paths.el
index 3cf574352ba..9682cb19337 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -32,15 +32,16 @@
32;;; Code: 32;;; Code:
33 33
34(defvar Info-default-directory-list 34(defvar Info-default-directory-list
35 (let ((start (list "/usr/local/info/" 35 (let ((start (list "/usr/local/lib/info/"
36 "/usr/local/lib/info/")) 36 ;; This comes second so that, if it is the same
37 ;; as configure-info-directory (which is usually true)
38 ;; and Emacs has been installed (also usually true)
39 ;; then the list will end with two copies of this;
40 ;; which means that the last dir file Info-insert-dir
41 ;; finds will be the one in this directory.
42 "/usr/local/info/"))
37 (configdir (file-name-as-directory configure-info-directory))) 43 (configdir (file-name-as-directory configure-info-directory)))
38 (or (member configdir start) 44 (setq start (nconc start (list configdir)))
39 (setq start (nconc start (list configdir))))
40 (or (member (expand-file-name "../info/" data-directory) start)
41 (setq start
42 (nconc start
43 (list (expand-file-name "../info/" data-directory)))))
44 start) 45 start)
45 "List of directories to search for Info documentation files. 46 "List of directories to search for Info documentation files.
46They are searched in the order they are given in this list. 47They are searched in the order they are given in this list.