emacs - Remove wahtever from yes-or-whatever-p
This commit is contained in:
parent
cf298bbb3f
commit
9d796f51fa
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@
|
|||
(string= "yes"
|
||||
(downcase
|
||||
(read-from-minibuffer
|
||||
(concat prompt "(yes or whatever) ")))))
|
||||
(concat prompt "(type yes) ")))))
|
||||
|
||||
;; Ask if you want to quit emacs
|
||||
(setq confirm-kill-emacs 'my/yes-or-whatever-p)
|
||||
|
||||
|
|
Loading…
Reference in a new issue