Close popups in doom/kill-all-buffers

This commit is contained in:
Henrik Lissner 2017-09-24 18:40:50 +02:00
parent 5a12f552dc
commit 9b0d333a66
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -254,6 +254,7 @@ regex PATTERN. Returns the number of killed buffers."
If PROJECT-P, kill all buffers that belong to the current project."
(interactive "P")
(doom/popup-close-all t)
(let ((buffers (if project-p (doom-project-buffer-list) (doom-buffer-list))))
(mapc #'doom-kill-buffer-and-windows buffers)
(unless (doom-real-buffer-p)