]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/info.el (Info-default-directory-list): Don't check /share,info.
authorGlenn Morris <rgm@gnu.org>
Thu, 26 May 2016 19:46:06 +0000 (15:46 -0400)
committerGlenn Morris <rgm@gnu.org>
Thu, 26 May 2016 19:46:06 +0000 (15:46 -0400)
No-one puts info pages there.  If /share does exist, it's likely to
contain remote file systems where access could be slow.

; Ref eg https://bugs.debian.org/786707

lisp/info.el

index 5a1cec11dd2dbef405975ec52574c00dfc37d5bc..70d218fbca2333171b7b9fdbd9bed44679e65214 100644 (file)
@@ -189,7 +189,7 @@ A header-line does not scroll with the rest of the buffer."
               configure-info-directory)))
         (prefixes
          ;; Directory trees in which to look for info subdirectories
-         (prune-directory-list '("/usr/local/" "/usr/" "/opt/" "/")))
+         (prune-directory-list '("/usr/local/" "/usr/" "/opt/")))
         (suffixes
          ;; Subdirectories in each directory tree that may contain info
          ;; directories.