From 77da55180433c44ed771726fc94570d2f0815ec3 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Thu, 16 Mar 2023 14:43:16 +0100 Subject: [PATCH] Use use-short-answers instead of aliasing yes-or-no-p --- modules/base/emacs/base-init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/base/emacs/base-init.el b/modules/base/emacs/base-init.el index 75ece5fc..d8be4002 100644 --- a/modules/base/emacs/base-init.el +++ b/modules/base/emacs/base-init.el @@ -129,13 +129,12 @@ ;; Always highlight the current line in text modes ((text-mode prog-mode) . hl-line-mode) :custom + (use-short-answers t "Allow short answers on yes/no prompt") (fill-column 80 "Fill at column 80 instead of 70") (create-lockfiles nil "I'm the only user on my devices and use emacs as a daemon, so don't clutter with lockfiles") (inhibit-startup-screen t "Don't show default startup screen") (comp-deferred-compilation nil "Don't do native-comp at runtime") :config - ;; Only ask for y/n, never for yes/no. - (defalias 'yes-or-no-p 'y-or-n-p) ;; Font configuration (defun font-settings ()