diff --git a/init.el b/init.el index 9ca58aa..0840892 100644 --- a/init.el +++ b/init.el @@ -21,9 +21,9 @@ (require 'mitch-defuns) ;; minify yes/no prompts -;; (if (>= (string-to-number emacs-version) 28) -;; (defvar use-short-answers t)) ;; doesn't work -(defalias 'yes-or-no-p 'y-or-n-p) +(if (>= (string-to-number emacs-version) 28) + (defvar use-short-answers t) + (defalias 'yes-or-no-p 'y-or-n-p)) ;; do the things (add-hook 'server-after-make-frame-hook #'mitch/graphical-setup)