use "use-short-answers" instead of (fset 'yes-or-no-p 'y-or-n-p)

This commit is contained in:
zedhugh committed 2026-08-31 00:55:45 +08:00
1 parent 78172b20d7
commit 283ff41a5e
1 file changed
+2 -1
+2 -1
View File
@@ -13,8 +13,9 @@
(set-selection-coding-system 'utf-8)
(modify-coding-system-alist 'process "*" 'utf-8)
(setq use-short-answers t)
;; Don't show prompt when call function
(fset 'yes-or-no-p 'y-or-n-p)
(put 'erase-buffer 'disabled nil)
(put 'narrow-to-page 'disabled nil)
(put 'narrow-to-defun 'disabled nil)