]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix thinko in my last change
authorStefan Kangas <stefankangas@gmail.com>
Mon, 27 May 2024 20:38:28 +0000 (22:38 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 29 May 2024 10:08:56 +0000 (12:08 +0200)
* lisp/progmodes/which-func.el (which-func-update-delay): Fix
thinko.

(cherry picked from commit a2ada9094824a673b441f082857c3e77347a1ff8)

lisp/progmodes/which-func.el

index c15898c9b60e848ccf06abd8beba517bd5ef3403..52f9a3cc6905b0a656db2ed6659a54a9d8210014 100644 (file)
@@ -111,7 +111,7 @@ activation of Which Function until Imenu is used for the first time."
   ;; Backwards-compatibility: if users had changed this before
   ;; `idle-update-delay' was declared obsolete, let's respect that.
   (with-suppressed-warnings ((obsolete idle-update-delay))
-    (if (/= idle-update-delay 0.5) 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."