Prefer /usr/share/info/emacs/
authorRob Browning <rlb@defaultvalue.org>
Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)
committerRob Browning <rlb@defaultvalue.org>
Wed, 26 Dec 2018 19:54:16 +0000 (19:54 +0000)
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.

Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs.patch

lisp/info.el

index 8743b44997648f1a6ee1629de31513148db21144..14d62f7f1cbe6eafecb42b8b015daf6004eee438 100644 (file)
@@ -213,7 +213,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))