]> code.delx.au - gnu-emacs/commitdiff
* lisp/info.el (Info-default-directory-list): Remove obsolete suffixes.
authorGlenn Morris <rgm@gnu.org>
Thu, 26 May 2016 18:48:17 +0000 (14:48 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 26 May 2016 18:48:17 +0000 (14:48 -0400)
; * etc/NEWS: Mention this.

etc/NEWS
lisp/info.el

index d74e570d6ff536eb5e831ef042fb32122882c8b0..4e8567e2fdbd428c89bce05ace4d6f0f044d2c6a 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -253,6 +253,11 @@ details.
 *** New setf-able function to access and set image parameters is
 provided: 'image-property'.
 
+---
+** The default 'Info-default-directory-list' no longer checks some obsolete
+directory suffixes (gnu, gnu/lib, gnu/lib/emacs, emacs, lib, lib/emacs)
+when searching for info directories.
+
 +++
 ** The commands that add ChangeLog entries now prefer a VCS root directory
 for the ChangeLog file, if none already exists.  Customize
index ae46fba25b965dba4c0a35014dde2f1849be694b..5a1cec11dd2dbef405975ec52574c00dfc37d5bc 100644 (file)
@@ -192,12 +192,8 @@ A header-line does not scroll with the rest of the buffer."
          (prune-directory-list '("/usr/local/" "/usr/" "/opt/" "/")))
         (suffixes
          ;; Subdirectories in each directory tree that may contain info
-         ;; directories.  Most of these are rather outdated.
-         ;; It ought to be fine to stop checking the "emacs" ones now,
-         ;; since this is Emacs and we have not installed info files
-         ;; into such directories for a looong time...
-         '("share/" "" "gnu/" "gnu/lib/" "gnu/lib/emacs/"
-           "emacs/" "lib/" "lib/emacs/"))
+         ;; directories.
+         '("share/" ""))
         (standard-info-dirs
          (apply #'nconc
                 (mapcar (lambda (pfx)