1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-26 10:49:33 +00:00

(Info-default-directory-list): Add sysdir last.

This commit is contained in:
Dave Love 1999-01-22 22:07:12 +00:00
parent 83bc1919ba
commit 4439cce1e7

View File

@ -43,12 +43,15 @@
"/usr/local/info/")) "/usr/local/info/"))
;; Typically on a GNU system, installed info files are found ;; Typically on a GNU system, installed info files are found
;; in /usr/info, but the default prefix is /usr/local. ;; in /usr/info, but the default prefix is /usr/local.
;; (Standalone info has a long list of alternative
;; directories to search; perhaps we should try to be more
;; consistent.)
(usrdir "/usr/info") (usrdir "/usr/info")
(sysdir (and (file-directory-p usrdir) (sysdir (and (file-directory-p usrdir)
(not (string= configure-info-directory usrdir)) (not (string= configure-info-directory usrdir))
(list usrdir))) (list usrdir)))
(configdir (file-name-as-directory configure-info-directory))) (configdir (file-name-as-directory configure-info-directory)))
(setq start (nconc sysdir start (list configdir))) (setq start (nconc start (list configdir) sysdir))
start) start)
"Default list of directories to search for Info documentation files. "Default list of directories to search for Info documentation files.
They are searched in the order they are given in the list. They are searched in the order they are given in the list.