]> git.eshelyaron.com Git - emacs.git/commitdiff
; Silence byte-compiler
authorStefan Kangas <stefankangas@gmail.com>
Mon, 27 May 2024 08:54:46 +0000 (10:54 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 27 May 2024 20:27:23 +0000 (22:27 +0200)
(cherry picked from commit 25f61f7f8f5432cb301b69ee8ea1825826c8469d)

lisp/progmodes/which-func.el

index e2aab1cc1af45b155779a5914c1fb8508f21490d..c15898c9b60e848ccf06abd8beba517bd5ef3403 100644 (file)
@@ -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."