From 2a01a2b77747227afbb0455e1d509177282bbe23 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Mon, 16 Oct 2017 10:07:55 +0200 Subject: [PATCH] emacs - move redefinition of yes-or-no-p --- emacs/.emacs.d/init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 6349f7a..f71c6d8 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -2,6 +2,9 @@ (package-initialize) (require 'cl) +;; Change all prompts to y or n +(fset 'yes-or-no-p 'y-or-n-p) + ;; Nope function (defun nope () (interactive) @@ -575,8 +578,6 @@ '("*undo-tree*" (display-buffer-reuse-window display-buffer-in-side-window) (side . right) (size . 0.2))) -;; Change all prompts to y or n -(fset 'yes-or-no-p 'y-or-n-p) ;; Insert time, german format (defun time-german ()