use "use-short-answers" instead of (fset 'yes-or-no-p 'y-or-n-p)
This commit is contained in:
1 file changed
+2
-1
@@ -13,8 +13,9 @@
|
|||||||
(set-selection-coding-system 'utf-8)
|
(set-selection-coding-system 'utf-8)
|
||||||
(modify-coding-system-alist 'process "*" 'utf-8)
|
(modify-coding-system-alist 'process "*" 'utf-8)
|
||||||
|
|
||||||
|
(setq use-short-answers t)
|
||||||
|
|
||||||
;; Don't show prompt when call function
|
;; Don't show prompt when call function
|
||||||
(fset 'yes-or-no-p 'y-or-n-p)
|
|
||||||
(put 'erase-buffer 'disabled nil)
|
(put 'erase-buffer 'disabled nil)
|
||||||
(put 'narrow-to-page 'disabled nil)
|
(put 'narrow-to-page 'disabled nil)
|
||||||
(put 'narrow-to-defun 'disabled nil)
|
(put 'narrow-to-defun 'disabled nil)
|
||||||
|
|||||||
Reference in new issue
Block a user