Merge pull request #1267 from flatwhatson/fix-kill-buffer
Fixes for doom/kill-this-buffer-in-all-windows
This commit is contained in:
commit
4028f36beb
1 changed files with 2 additions and 1 deletions
|
@ -251,7 +251,8 @@ If DONT-SAVE, don't prompt to save modified buffers (discarding their changes)."
|
|||
(set-buffer-modified-p nil)))
|
||||
(kill-buffer buffer)
|
||||
(cl-loop for win in windows
|
||||
if (doom-real-buffer-p (window-buffer win))
|
||||
if (and (window-live-p win)
|
||||
(doom-unreal-buffer-p (window-buffer win)))
|
||||
do (with-selected-window win (previous-buffer)))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue