yes-or-no-p and use-short-answers
This commit is contained in:
parent
eee140bfd7
commit
951b1d7f06
6
init.el
6
init.el
@ -21,9 +21,9 @@
|
|||||||
(require 'mitch-defuns)
|
(require 'mitch-defuns)
|
||||||
|
|
||||||
;; minify yes/no prompts
|
;; minify yes/no prompts
|
||||||
;; (if (>= (string-to-number emacs-version) 28)
|
(if (>= (string-to-number emacs-version) 28)
|
||||||
;; (defvar use-short-answers t)) ;; doesn't work
|
(defvar use-short-answers t)
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
(defalias 'yes-or-no-p 'y-or-n-p))
|
||||||
|
|
||||||
;; do the things
|
;; do the things
|
||||||
(add-hook 'server-after-make-frame-hook #'mitch/graphical-setup)
|
(add-hook 'server-after-make-frame-hook #'mitch/graphical-setup)
|
||||||
|
Loading…
Reference in New Issue
Block a user