summaryrefslogtreecommitdiff
path: root/lisp/paths.el
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-01-26 18:52:46 +0000
committerDave Love <fx@gnu.org>1999-01-26 18:52:46 +0000
commit99728db9d28a7cb342233ce4ed788a420cb383fb (patch)
treeca3df96a2a59f2da1bf2e95e0ff1b7409bfbbb9a /lisp/paths.el
parent171321202579d7a7e1eaaf6bf377a390a50fb01a (diff)
downloademacs-99728db9d28a7cb342233ce4ed788a420cb383fb.tar.gz
(Info-default-directory-list): Use configdir twice.
Diffstat (limited to 'lisp/paths.el')
-rw-r--r--lisp/paths.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/paths.el b/lisp/paths.el
index b2b32ac2e4f..f2284fc8443 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -51,7 +51,9 @@
(not (string= configure-info-directory usrdir))
(list usrdir)))
(configdir (file-name-as-directory configure-info-directory)))
- (setq start (nconc start sysdir (list configdir)))
+ ;; configdir comes last so that we can identify it as such, but we
+ ;; also we override sysdir, hence the two occurrences.
+ (setq start (nconc start (list configdir) sysdir (list configdir)))
start)
"Default list of directories to search for Info documentation files.
They are searched in the order they are given in the list.