Move use-short-answers to init.el
This commit is contained in:
@@ -269,12 +269,6 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
|
|||||||
(setq use-file-dialog nil)
|
(setq use-file-dialog nil)
|
||||||
(setq use-dialog-box 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
|
;;; package.el
|
||||||
(setq package-enable-at-startup nil)
|
(setq package-enable-at-startup nil)
|
||||||
(setq package-quickstart nil)
|
(setq package-quickstart nil)
|
||||||
|
|||||||
8
init.el
8
init.el
@@ -60,11 +60,17 @@
|
|||||||
minibuffer-prompt))
|
minibuffer-prompt))
|
||||||
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
|
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
|
||||||
|
|
||||||
;;; Interface
|
;;; User interface
|
||||||
|
|
||||||
;; By default, Emacs "updates" its ui more often than it needs to
|
;; By default, Emacs "updates" its ui more often than it needs to
|
||||||
(setq idle-update-delay 1.0)
|
(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
|
;;; Misc
|
||||||
|
|
||||||
;; switch-to-buffer runs pop-to-buffer-same-window instead
|
;; switch-to-buffer runs pop-to-buffer-same-window instead
|
||||||
|
|||||||
Reference in New Issue
Block a user