Fix which-func-update doc string

* lisp/progmodes/which-func.el (which-func-update): Make the doc
string match the code (bug#54288).
This commit is contained in:
Lars Ingebrigtsen 2022-03-07 16:19:19 +01:00
parent d9e5ae5e20
commit 80736aef90

View file

@ -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))))