diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-10-30 10:44:17 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-10-30 10:44:17 +0000 |
commit | ae8301597037c176108f5eb40d783593de427870 (patch) | |
tree | 8531c1e065a153730708c784becdfaf2190d909a /lisp/buff-menu.el | |
parent | de7396bb05e0361d9684fcf0888b3bfcd8e877a3 (diff) | |
download | emacs-ae8301597037c176108f5eb40d783593de427870.tar.gz |
(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).
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r-- | lisp/buff-menu.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index bc995f0303f..a5c43d1c60f 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el @@ -515,7 +515,7 @@ The R column contains a % for buffers that are read-only." (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*")) |