]> git.eshelyaron.com Git - emacs.git/commitdiff
(list-buffers-noselect): Compare Info file
authorJuri Linkov <juri@jurta.org>
Wed, 28 Jun 2006 14:15:41 +0000 (14:15 +0000)
committerJuri Linkov <juri@jurta.org>
Wed, 28 Jun 2006 14:15:41 +0000 (14:15 +0000)
with the string "dir" to detect Info directory.

lisp/buff-menu.el

index 4998c1edf07bb0010acf6e19af994cd935cbe03b..e9e7e9a2bb8e14918e9bc5ee9cdbd80ae639ffbf 100644 (file)
@@ -777,7 +777,7 @@ For more information, see the function `buffer-menu'."
                        ((eq major-mode 'Info-mode)
                         (setq file Info-current-file)
                         (cond
-                         ((eq file t)
+                         ((equal file "dir")
                           (setq file "*Info Directory*"))
                          ((eq file 'apropos)
                           (setq file "*Info Apropos*"))