Merge pull request #533 from jcf/patch-1

Add missing buffer name to kill confirmation
This commit is contained in:
Henrik Lissner
2018-04-17 20:58:14 -04:00
committed by GitHub

View File

@@ -597,7 +597,8 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
((doom-real-buffer-p buf)
(if (and buffer-file-name
(buffer-modified-p buf)
(not (y-or-n-p "Buffer %s is modified; kill anyway?")))
(not (y-or-n-p
(format "Buffer %s is modified; kill anyway?" buf))))
(message "Aborted")
(set-buffer-modified-p nil)
(when (or ;; if there aren't more real buffers than visible buffers,