summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.org b/init.org
index 087dadb..1de46b2 100644
--- a/init.org
+++ b/init.org
@@ -164,7 +164,9 @@
*** yes/no, bell, startup message
#+BEGIN_SRC emacs-lisp
;;; change yes/no for y/n
- (fset 'yes-or-no-p 'y-or-n-p)
+ (if (version< emacs-version "28")
+ (fset 'yes-or-no-p 'y-or-n-p)
+ (setq use-short-answers t))
(setq inhibit-startup-message t)
(setq visible-bell t)
#+END_SRC