summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-02-25 22:18:08 +0000
committerjao <jao@gnu.org>2021-02-25 22:18:08 +0000
commit3cb0608f65d659cebfdc86f531142f26980c1e8a (patch)
tree3dceec5260d3c6f2702c2b66b4448bd7a6feff9b
parentc658f9b8c6327276c5713fc25b0d0ff0630b87b4 (diff)
downloadelibs-3cb0608f65d659cebfdc86f531142f26980c1e8a.tar.gz
elibs-3cb0608f65d659cebfdc86f531142f26980c1e8a.tar.bz2
new use-short-answers flag
-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