summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-03-07 16:19:19 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-03-07 16:19:27 +0100
commit80736aef9085ad04e59902b0d0a31fb1f663858b (patch)
treefa344f2dc0092ad1d24e59bbbb6956f33f21462d
parentd9e5ae5e20960c0818038ba64beaa330db3c64c7 (diff)
downloademacs-80736aef9085ad04e59902b0d0a31fb1f663858b.tar.gz
Fix which-func-update doc string
* lisp/progmodes/which-func.el (which-func-update): Make the doc string match the code (bug#54288).
-rw-r--r--lisp/progmodes/which-func.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 4388b0e7de0..abe25f2c633 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -216,7 +216,7 @@ It creates the Imenu index for the buffer, if necessary."
(setq which-func-mode nil))))
(defun which-func-update ()
- "Update the Which-Function mode display for all windows."
+ "Update the Which-Function mode display in the current window."
;; (walk-windows 'which-func-update-1 nil 'visible))
(let ((non-essential t))
(which-func-update-1 (selected-window))))