Prefer /usr/share/info/emacs/
authorRob Browning <rlb@defaultvalue.org>
Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)
committerSean Whitton <spwhitton@spwhitton.name>
Mon, 10 Oct 2022 00:14:31 +0000 (17:14 -0700)
Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

lisp/info.el

index 5655e3f3ce9d10704a91b649ee2844e3cfc2601d..fb2b7c78fc903ded5c2edd75b9fe426e7e2b276c 100644 (file)
@@ -203,7 +203,8 @@ A header-line does not scroll with the rest of the buffer."
              (nconc standard-info-dirs (list config-dir))
            (cons config-dir standard-info-dirs))))
     (if (not (eq system-type 'windows-nt))
-       dirs
+        ;; Debian: add flavor info directory in front
+        (cons "/usr/share/info/emacs" dirs)
       ;; Include the info directory near where Emacs executable was installed.
       (let* ((instdir (file-name-directory invocation-directory))
             (dir1 (expand-file-name "../info/" instdir))