Add: which-func-update-delay

This commit is contained in:
James Cherti
2025-06-01 14:05:54 -04:00
parent 34f2ab8b88
commit 89ad720f7e

17
init.el
View File

@@ -38,11 +38,10 @@
(setq use-short-answers t) (setq use-short-answers t)
(advice-add 'yes-or-no-p :override #'y-or-n-p)) (advice-add 'yes-or-no-p :override #'y-or-n-p))
;;; Undo/redo ;;; Features, warnings, and errors
(setq undo-limit (* 13 160000) ;; Disable warnings from the legacy advice API. They aren't useful.
undo-strong-limit (* 13 240000) (setq ad-redefinition-action 'accept)
undo-outer-limit (* 13 24000000))
;;; package.el ;;; package.el
@@ -58,10 +57,11 @@
;; Ensure use-package is available ;; Ensure use-package is available
(require 'use-package)) (require 'use-package))
;;; Features, warnings, and errors ;;; Undo/redo
;; Disable warnings from the legacy advice API. They aren't useful. (setq undo-limit (* 13 160000)
(setq ad-redefinition-action 'accept) undo-strong-limit (* 13 240000)
undo-outer-limit (* 13 24000000))
;;; Minibuffer ;;; Minibuffer
@@ -76,7 +76,8 @@
;;; User interface ;;; User interface
;; By default, Emacs "updates" its ui more often than it needs to ;; By default, Emacs "updates" its ui more often than it needs to
(setq idle-update-delay 1.0) (setq which-func-update-delay 1.0)
(setq idle-update-delay which-func-update-delay) ;; Obsolete in >= 30.1
(defalias #'view-hello-file #'ignore) ; Never show the hello file (defalias #'view-hello-file #'ignore) ; Never show the hello file