Prefer /usr/share/info/emacs/
authorRob Browning <rlb@defaultvalue.org>
Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 14 Sep 2018 11:26:52 +0000 (12:26 +0100)
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 40b2f90ebd642de84a612a5192aece8cc335c8c4..0cd9c480a67d01e6c7450e46750489e3643319b9 100644 (file)
@@ -218,7 +218,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))