Commit cd4496ef authored by Chong Yidong's avatar Chong Yidong

(Info-default-directory-list): Change default info dir to

share/info.
parent d77153c5
...@@ -68,7 +68,7 @@ comparison." ...@@ -68,7 +68,7 @@ comparison."
(suffixes (suffixes
;; Subdirectories in each directory tree that may contain info ;; Subdirectories in each directory tree that may contain info
;; directories. ;; directories.
'("" "share/" "gnu/" "gnu/lib/" "gnu/lib/emacs/" '("share/" "" "gnu/" "gnu/lib/" "gnu/lib/emacs/"
"emacs/" "lib/" "lib/emacs/")) "emacs/" "lib/" "lib/emacs/"))
(standard-info-dirs (standard-info-dirs
(apply #'nconc (apply #'nconc
...@@ -81,10 +81,10 @@ comparison." ...@@ -81,10 +81,10 @@ comparison."
dirs dirs
(prune-directory-list dirs config)))) (prune-directory-list dirs config))))
prefixes)))) prefixes))))
;; If $(prefix)/info is not one of the standard info directories, ;; If $(prefix)/share/info is not one of the standard info
;; they are probably installing an experimental version of Emacs, ;; directories, they are probably installing an experimental
;; so make sure that experimental version's Info files override ;; version of Emacs, so make sure that experimental version's Info
;; the ones in standard directories. ;; files override the ones in standard directories.
(if (member config-dir standard-info-dirs) (if (member config-dir standard-info-dirs)
(nconc standard-info-dirs config) (nconc standard-info-dirs config)
(cons config-dir standard-info-dirs))) (cons config-dir standard-info-dirs)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment