summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs.el b/emacs.el
index 0b4097d..58fad0a 100644
--- a/emacs.el
+++ b/emacs.el
@@ -12,6 +12,9 @@
'(whitespace-style '(trailing tabs newline tab-mark newline-mark))
)
+;; only y/n prompt (no RET needed)
+(defalias 'yes-or-no-p 'y-or-n-p)
+
;; fix 'bad request' on package-refresh-contents (should be fixed with emcas 26.3)
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")