diff --git a/core/core-ui.el b/core/core-ui.el index a399ba7a0..f6df544a3 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -309,7 +309,7 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original (setq resize-mini-windows 'grow-only) ;; Typing yes/no is obnoxious when y/n will do -(fset #'yes-or-no-p #'y-or-n-p) +(advice-add #'yes-or-no-p :override #'y-or-n-p) ;; Try to keep the cursor out of the read-only portions of the minibuffer. (setq minibuffer-prompt-properties '(read-only t intangible t cursor-intangible t face minibuffer-prompt))