Use use-short-answers instead of aliasing yes-or-no-p
This commit is contained in:
parent
7d07c726c6
commit
77da551804
1 changed files with 1 additions and 2 deletions
|
@ -129,13 +129,12 @@
|
||||||
;; Always highlight the current line in text modes
|
;; Always highlight the current line in text modes
|
||||||
((text-mode prog-mode) . hl-line-mode)
|
((text-mode prog-mode) . hl-line-mode)
|
||||||
:custom
|
:custom
|
||||||
|
(use-short-answers t "Allow short answers on yes/no prompt")
|
||||||
(fill-column 80 "Fill at column 80 instead of 70")
|
(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")
|
(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")
|
(inhibit-startup-screen t "Don't show default startup screen")
|
||||||
(comp-deferred-compilation nil "Don't do native-comp at runtime")
|
(comp-deferred-compilation nil "Don't do native-comp at runtime")
|
||||||
:config
|
:config
|
||||||
;; Only ask for y/n, never for yes/no.
|
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
|
||||||
|
|
||||||
;; Font configuration
|
;; Font configuration
|
||||||
(defun font-settings ()
|
(defun font-settings ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue