By default, empty buffer-file-name = unreal buffer
This commit is contained in:
parent
b3dafe96d3
commit
d9d049549f
2 changed files with 8 additions and 3 deletions
|
@ -142,7 +142,8 @@ popup window/buffer and b) isn't a special buffer."
|
|||
(or (run-hook-with-args-until-success 'doom-real-buffer-functions buf)
|
||||
(not (or (doom-popup-p buf)
|
||||
(minibufferp buf)
|
||||
(string-match-p "^\\s-*\\*" (buffer-name buf)))))))
|
||||
(string-match-p "^\\s-*\\*" (buffer-name buf))
|
||||
(not (buffer-file-name buf)))))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/next-buffer ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue