From ea3c13a5943e51fae3f32ca79c08ed515aff763d Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Sun, 7 Apr 2013 15:03:05 -0500 Subject: [PATCH] Prefer /usr/share/info/emacs-MAJORVERSION Emacs prefers /usr/share/info/emacs-MAJORVERSION to /usr/share/info. The value of Info-default-directory-list has been augmented via lisp/info.el to include /usr/share/info/emacs-MAJORVERSION before /usr/share/info. Gbp-Pq: Name 0001-Prefer-usr-share-info-emacs-MAJORVERSION.patch --- lisp/info.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/info.el b/lisp/info.el index 40b2f90ebd6..63402780d42 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -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 per-flavor info directory in front. + (cons (format "/usr/share/info/emacs-%d" emacs-major-version) dirs) ;; Include the info directory near where Emacs executable was installed. (let* ((instdir (file-name-directory invocation-directory)) (dir1 (expand-file-name "../info/" instdir)) -- 2.30.2