]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix which-func-update doc string
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Mar 2022 15:19:19 +0000 (16:19 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Mar 2022 15:19:27 +0000 (16:19 +0100)
* lisp/progmodes/which-func.el (which-func-update): Make the doc
string match the code (bug#54288).

lisp/progmodes/which-func.el

index 4388b0e7de032907c625c790785e2d72cfc10985..abe25f2c6333861e30ca61c4f21be22270e24d64 100644 (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))))