From 9d796f51fa9415ca7b5e30ebd23d1304fa1d9502 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sun, 5 Nov 2017 22:16:41 +0100 Subject: [PATCH] emacs - Remove wahtever from yes-or-whatever-p --- emacs/.emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 2b10c03..20a723b 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -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)