Move use-short-answers to init.el
This commit is contained in:
8
init.el
8
init.el
@@ -60,11 +60,17 @@
|
||||
minibuffer-prompt))
|
||||
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
|
||||
|
||||
;;; Interface
|
||||
;;; User interface
|
||||
|
||||
;; By default, Emacs "updates" its ui more often than it needs to
|
||||
(setq idle-update-delay 1.0)
|
||||
|
||||
;; Allow for shorter responses: "y" for yes and "n" for no.
|
||||
(if (boundp 'use-short-answers)
|
||||
(setq use-short-answers t)
|
||||
(advice-add #'yes-or-no-p :override #'y-or-n-p))
|
||||
(defalias #'view-hello-file #'ignore) ; Never show the hello file
|
||||
|
||||
;;; Misc
|
||||
|
||||
;; switch-to-buffer runs pop-to-buffer-same-window instead
|
||||
|
||||
Reference in New Issue
Block a user