Fix confirm-kill-emacs quitting despite 'no' response
This commit is contained in:
parent
a80f36c8b1
commit
da0ffdc500
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@
|
|||
max-mini-window-height 0.3
|
||||
;; Ask for confirmation on exit only if there are real buffers left
|
||||
confirm-kill-emacs
|
||||
(lambda (_) (if (doom/get-real-buffers) (y-or-n-p "› Quit?") t) t))
|
||||
(lambda (_)
|
||||
(if (doom/get-real-buffers)
|
||||
(y-or-n-p "››› Quit?")
|
||||
t)))
|
||||
|
||||
;; Initialize UI
|
||||
(tooltip-mode -1) ; show tooltips in echo area
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue