diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-05-30 11:50:27 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-05-30 11:50:27 +0000 |
commit | 9a49418b11a33d8a90ca812395d3de918a672244 (patch) | |
tree | 42e21f82223baadd7237444df4f7ef1733752501 /lisp | |
parent | 5c11086b458aa6fa8ae4c6fb37d4ebf088b7fbfe (diff) | |
download | emacs-9a49418b11a33d8a90ca812395d3de918a672244.tar.gz |
(Info-default-directory-list): Don't attach ../info.
So now configure-info-directory comes last.
Put /usr/local/info second.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/paths.el | 17 |
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 @@ ;;; Code: (defvar Info-default-directory-list - (let ((start (list "/usr/local/info/" - "/usr/local/lib/info/")) + (let ((start (list "/usr/local/lib/info/" + ;; This comes second so that, if it is the same + ;; as configure-info-directory (which is usually true) + ;; and Emacs has been installed (also usually true) + ;; then the list will end with two copies of this; + ;; which means that the last dir file Info-insert-dir + ;; finds will be the one in this directory. + "/usr/local/info/")) (configdir (file-name-as-directory configure-info-directory))) - (or (member configdir start) - (setq start (nconc start (list configdir)))) - (or (member (expand-file-name "../info/" data-directory) start) - (setq start - (nconc start - (list (expand-file-name "../info/" data-directory))))) + (setq start (nconc start (list configdir))) start) "List of directories to search for Info documentation files. They are searched in the order they are given in this list. |