Use use-short-answers instead of aliasing yes-or-no-p

This commit is contained in:
Charlotte Van Petegem 2023-03-16 14:43:16 +01:00
parent 7d07c726c6
commit 77da551804
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

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