aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2016-05-26 14:48:17 -0400
committerGlenn Morris2016-05-26 14:48:17 -0400
commit8ff9c4109fd8ca239ce6af83d9dd3b124d2f0e3f (patch)
treee10c4bacec0e8a2f9f70407e14c6776ac7412409
parent21e87ece97e90f5500bd49b84dca08d97bd4f155 (diff)
downloademacs-8ff9c4109fd8ca239ce6af83d9dd3b124d2f0e3f.tar.gz
emacs-8ff9c4109fd8ca239ce6af83d9dd3b124d2f0e3f.zip
* lisp/info.el (Info-default-directory-list): Remove obsolete suffixes.
; * etc/NEWS: Mention this.
-rw-r--r--etc/NEWS5
-rw-r--r--lisp/info.el8
2 files changed, 7 insertions, 6 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d74e570d6ff..4e8567e2fdb 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -253,6 +253,11 @@ details.
253*** New setf-able function to access and set image parameters is 253*** New setf-able function to access and set image parameters is
254provided: 'image-property'. 254provided: 'image-property'.
255 255
256---
257** The default 'Info-default-directory-list' no longer checks some obsolete
258directory suffixes (gnu, gnu/lib, gnu/lib/emacs, emacs, lib, lib/emacs)
259when searching for info directories.
260
256+++ 261+++
257** The commands that add ChangeLog entries now prefer a VCS root directory 262** The commands that add ChangeLog entries now prefer a VCS root directory
258for the ChangeLog file, if none already exists. Customize 263for the ChangeLog file, if none already exists. Customize
diff --git a/lisp/info.el b/lisp/info.el
index ae46fba25b9..5a1cec11dd2 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -192,12 +192,8 @@ A header-line does not scroll with the rest of the buffer."
192 (prune-directory-list '("/usr/local/" "/usr/" "/opt/" "/"))) 192 (prune-directory-list '("/usr/local/" "/usr/" "/opt/" "/")))
193 (suffixes 193 (suffixes
194 ;; Subdirectories in each directory tree that may contain info 194 ;; Subdirectories in each directory tree that may contain info
195 ;; directories. Most of these are rather outdated. 195 ;; directories.
196 ;; It ought to be fine to stop checking the "emacs" ones now, 196 '("share/" ""))
197 ;; since this is Emacs and we have not installed info files
198 ;; into such directories for a looong time...
199 '("share/" "" "gnu/" "gnu/lib/" "gnu/lib/emacs/"
200 "emacs/" "lib/" "lib/emacs/"))
201 (standard-info-dirs 197 (standard-info-dirs
202 (apply #'nconc 198 (apply #'nconc
203 (mapcar (lambda (pfx) 199 (mapcar (lambda (pfx)