emacs - move redefinition of yes-or-no-p

This commit is contained in:
madmaurice 2017-10-16 10:07:55 +02:00
parent 9159461442
commit 2a01a2b777

View file

@ -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 ()