aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-04 23:32:12 +0800
committerGuangxiong Lin <[email protected]>2022-03-04 23:32:12 +0800
commita191cf9740e7c1312ab3d41190ce0dcde07c0cb6 (patch)
tree5c34065c4b07fd474f961f4ca7a31f74daf759c2
parent9aa4318a49bae86ca3d2efe7cf594e9e3b3cfc2e (diff)
downloaddotfiles-a191cf9740e7c1312ab3d41190ce0dcde07c0cb6.tar.gz
dotfiles-a191cf9740e7c1312ab3d41190ce0dcde07c0cb6.tar.bz2
dotfiles-a191cf9740e7c1312ab3d41190ce0dcde07c0cb6.zip
Use y-or-n to save life (emacs)
-rw-r--r--.emacs.d/lisp/init-misc.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index 6675f22..53f9e89 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -32,6 +32,8 @@
(add-hook 'after-init-hook #'global-hl-line-mode)
(add-hook 'prog-mode-hook #'hs-minor-mode) ;; allow folding
+(fset 'yes-or-no-p 'y-or-n-p)
+
(use-package paren
:ensure nil
:init