Mercurial > emacs
comparison lisp/paths.el @ 24150:461616523a16
(Info-default-directory-list): Add sysdir last.
author | Dave Love <fx@gnu.org> |
---|---|
date | Fri, 22 Jan 1999 22:07:12 +0000 |
parents | 6ecfb6510c3b |
children | 818bfb5dcae9 |
comparison
equal
deleted
inserted
replaced
24149:123fd862314c | 24150:461616523a16 |
---|---|
41 ;; which means that the last dir file Info-insert-dir | 41 ;; which means that the last dir file Info-insert-dir |
42 ;; finds will be the one in this directory. | 42 ;; finds will be the one in this directory. |
43 "/usr/local/info/")) | 43 "/usr/local/info/")) |
44 ;; Typically on a GNU system, installed info files are found | 44 ;; Typically on a GNU system, installed info files are found |
45 ;; in /usr/info, but the default prefix is /usr/local. | 45 ;; in /usr/info, but the default prefix is /usr/local. |
46 ;; (Standalone info has a long list of alternative | |
47 ;; directories to search; perhaps we should try to be more | |
48 ;; consistent.) | |
46 (usrdir "/usr/info") | 49 (usrdir "/usr/info") |
47 (sysdir (and (file-directory-p usrdir) | 50 (sysdir (and (file-directory-p usrdir) |
48 (not (string= configure-info-directory usrdir)) | 51 (not (string= configure-info-directory usrdir)) |
49 (list usrdir))) | 52 (list usrdir))) |
50 (configdir (file-name-as-directory configure-info-directory))) | 53 (configdir (file-name-as-directory configure-info-directory))) |
51 (setq start (nconc sysdir start (list configdir))) | 54 (setq start (nconc start (list configdir) sysdir)) |
52 start) | 55 start) |
53 "Default list of directories to search for Info documentation files. | 56 "Default list of directories to search for Info documentation files. |
54 They are searched in the order they are given in the list. | 57 They are searched in the order they are given in the list. |
55 Therefore, the directory of Info files that come with Emacs | 58 Therefore, the directory of Info files that come with Emacs |
56 normally should come last (so that local files override standard ones). | 59 normally should come last (so that local files override standard ones). |