From 89ad720f7e9350a9600b71c40e1f9dbf646cd244 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sun, 1 Jun 2025 14:05:54 -0400 Subject: [PATCH] Add: which-func-update-delay --- init.el | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/init.el b/init.el index aeedf37..9aa23b7 100644 --- a/init.el +++ b/init.el @@ -38,11 +38,10 @@ (setq use-short-answers t) (advice-add 'yes-or-no-p :override #'y-or-n-p)) -;;; Undo/redo +;;; Features, warnings, and errors -(setq undo-limit (* 13 160000) - undo-strong-limit (* 13 240000) - undo-outer-limit (* 13 24000000)) +;; Disable warnings from the legacy advice API. They aren't useful. +(setq ad-redefinition-action 'accept) ;;; package.el @@ -58,10 +57,11 @@ ;; Ensure use-package is available (require 'use-package)) -;;; Features, warnings, and errors +;;; Undo/redo -;; Disable warnings from the legacy advice API. They aren't useful. -(setq ad-redefinition-action 'accept) +(setq undo-limit (* 13 160000) + undo-strong-limit (* 13 240000) + undo-outer-limit (* 13 24000000)) ;;; Minibuffer @@ -76,7 +76,8 @@ ;;; User interface ;; 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