Move use-short-answers to init.el

This commit is contained in:
James Cherti
2024-10-02 12:54:56 -04:00
parent 9b58ac6cc0
commit c798145103
2 changed files with 7 additions and 7 deletions

View File

@@ -269,12 +269,6 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
(setq use-file-dialog nil)
(setq use-dialog-box nil))
;; 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
;;; package.el
(setq package-enable-at-startup nil)
(setq package-quickstart nil)

View File

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