From a191cf9740e7c1312ab3d41190ce0dcde07c0cb6 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 4 Mar 2022 23:32:12 +0800 Subject: Use y-or-n to save life (emacs) --- .emacs.d/lisp/init-misc.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3