From c798145103b873b6f89b8d169702d0aeeb725faa Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:54:56 -0400 Subject: [PATCH] Move use-short-answers to init.el --- early-init.el | 6 ------ init.el | 8 +++++++- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/early-init.el b/early-init.el index dcde688..23c0a66 100644 --- a/early-init.el +++ b/early-init.el @@ -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) diff --git a/init.el b/init.el index 4abf834..cb7a05b 100644 --- a/init.el +++ b/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