[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

info handling dir.gz

From: Thien-Thi Nguyen
Subject: info handling dir.gz
Date: Thu, 01 Mar 2012 10:25:34 +0100

This patch is required for GNU Emacs to read /usr/share/info/dir.gz
(et al).  I hope it can make it into the next release.

[Insert excuse for not having installed Bazarre, here
 (flames => /dev/null).]

 lisp/info.el |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/lisp/info.el b/lisp/info.el
index a8cb141..49d0953 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1158,6 +1158,11 @@ a case-insensitive match is tried."
              (let* (file
+                      ;; As of 2011 or thereabouts, some weirdness in the
+                      ;; transition from Debian to GNU install-info results
+                      ;; in the directory file being gzipped.  Sigh.
+                      (progn (setq file (expand-file-name "dir.gz" truename))
+                             (file-attributes file))
                       (progn (setq file (expand-file-name "dir" truename))
                              (file-attributes file))
                       (progn (setq file (expand-file-name "DIR" truename))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]