* lisp/info.el (Info-insert-dir): Also try "dir.gz".

Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00005.html
This commit is contained in:
Thien-Thi Nguyen 2012-03-05 22:00:52 -05:00 committed by Glenn Morris
parent 8f2114eef3
commit 17798e786e
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
* info.el (Info-insert-dir): Also try "dir.gz".
2012-03-06 Glenn Morris <rgm@gnu.org>
* files.el (dir-locals-find-file):

View file

@ -1165,6 +1165,8 @@ a case-insensitive match is tried."
(progn (setq file (expand-file-name "dir.info" truename))
(file-attributes file))
(progn (setq file (expand-file-name "DIR.INFO" truename))
(file-attributes file))
(progn (setq file (expand-file-name "dir.gz" truename))
(file-attributes file)))))
(setq dirs-done
(cons truename