Don't throw errors in confirm-kill-emacs
This commit is contained in:
parent
4e3e624242
commit
d21b82d89b
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
;; Ask for confirmation on exit only if there are real buffers left
|
;; Ask for confirmation on exit only if there are real buffers left
|
||||||
confirm-kill-emacs
|
confirm-kill-emacs
|
||||||
(lambda (_)
|
(lambda (_)
|
||||||
(if (doom/get-real-buffers)
|
(if (ignore-errors (doom/get-real-buffers))
|
||||||
(y-or-n-p "››› Quit?")
|
(y-or-n-p "››› Quit?")
|
||||||
t)))
|
t)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue