Commit ae830159 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(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).
parent de7396bb
2001-10-30 Eli Zaretskii <eliz@is.elta.co.il>
* buff-menu.el (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).
2001-10-30 Stefan Monnier <monnier@cs.yale.edu> 2001-10-30 Stefan Monnier <monnier@cs.yale.edu>
* textmodes/fill.el (sentence-end-double-space) * textmodes/fill.el (sentence-end-double-space)
......
...@@ -515,7 +515,7 @@ The R column contains a % for buffers that are read-only." ...@@ -515,7 +515,7 @@ The R column contains a % for buffers that are read-only."
(setq this-buffer-directory list-buffers-directory)))) (setq this-buffer-directory list-buffers-directory))))
(cond (cond
;; Don't mention internal buffers. ;; 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. ;; Maybe don't mention buffers without files.
((and files-only (not file))) ((and files-only (not file)))
((string= name "*Buffer List*")) ((string= name "*Buffer List*"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment