diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2016-12-08 13:46:25 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2016-12-08 13:46:25 +0900 |
commit | af96803459cb777fa4528e02bd0f60c1d502638f (patch) | |
tree | b9b157550cdb66521046126ed63e141c70b1a526 /lisp/buff-menu.el | |
parent | 2766c607b0b0d201be5b9b1d5eb291415e5980d8 (diff) | |
download | emacs-af96803459cb777fa4528e02bd0f60c1d502638f.tar.gz |
Fix Bug#24962
* lisp/buff-menu.el (list-buffers--refresh):
List buffers with name starting with " " if they visit a file.
* test/lisp/buff-menu-tests.el (buff-menu-24962):
Update test result as pass.
Diffstat (limited to 'lisp/buff-menu.el')
-rw-r--r-- | lisp/buff-menu.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index e2aa2da0388..dcf5b0f3888 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el @@ -671,7 +671,8 @@ means list those buffers and no others." (file buffer-file-name)) (when (and (buffer-live-p buffer) (or buffer-list - (and (not (string= (substring name 0 1) " ")) + (and (or (not (string= (substring name 0 1) " ")) + file) (not (eq buffer buffer-menu-buffer)) (or file show-non-file)))) (push (list buffer |