emacs - Remove wahtever from yes-or-whatever-p

This commit is contained in:
madmaurice 2017-11-05 22:16:41 +01:00
parent cf298bbb3f
commit 9d796f51fa

View file

@ -13,7 +13,8 @@
(string= "yes" (string= "yes"
(downcase (downcase
(read-from-minibuffer (read-from-minibuffer
(concat prompt "(yes or whatever) "))))) (concat prompt "(type yes) ")))))
;; Ask if you want to quit emacs ;; Ask if you want to quit emacs
(setq confirm-kill-emacs 'my/yes-or-whatever-p) (setq confirm-kill-emacs 'my/yes-or-whatever-p)