changeset 40489:86b32dd85d89

(list-buffers-noselect): If the buffer's name starts with a blank, but it visits a file, do show it (for files whose names start with a blank).
author Eli Zaretskii <eliz@gnu.org>
date Tue, 30 Oct 2001 10:41:57 +0000
parents 554167b7ed9e
children 1c91f90ac050
files lisp/buff-menu.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/buff-menu.el	Tue Oct 30 09:19:20 2001 +0000
+++ b/lisp/buff-menu.el	Tue Oct 30 10:41:57 2001 +0000
@@ -515,7 +515,7 @@
                 (setq this-buffer-directory list-buffers-directory))))
           (cond
             ;; Don't mention internal buffers.
-            ((string= (substring name 0 1) " "))
+            ((and (string= (substring name 0 1) " ") (null file)))
             ;; Maybe don't mention buffers without files.
             ((and files-only (not file)))
             ((string= name "*Buffer List*"))