emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 25f61f7f8f5: ; Silence byte-compiler


From: Stefan Kangas
Subject: master 25f61f7f8f5: ; Silence byte-compiler
Date: Mon, 27 May 2024 04:55:03 -0400 (EDT)

branch: master
commit 25f61f7f8f5432cb301b69ee8ea1825826c8469d
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; Silence byte-compiler
---
 lisp/progmodes/which-func.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index e928999ab5e..870db91166a 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -110,7 +110,8 @@ activation of Which Function until Imenu is used for the 
first time."
 (defcustom which-func-update-delay
   ;; Backwards-compatibility: if users had changed this before
   ;; `idle-update-delay' was declared obsolete, let's respect that.
-  (if (/= idle-update-delay 0.5) idle-update-delay 0.5)
+  (with-suppressed-warnings ((obsolete idle-update-delay))
+    (if (/= idle-update-delay 0.5) idle-update-delay 0.5))
   "Idle time delay before `which-function-mode` updates its display.
 When point moves, wait this many seconds after Emacs becomes idle before
 doing an update."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]