From: Lars Ingebrigtsen Date: Mon, 7 Mar 2022 15:19:19 +0000 (+0100) Subject: Fix which-func-update doc string X-Git-Tag: emacs-28.0.92~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80736aef9085ad04e59902b0d0a31fb1f663858b;p=emacs.git Fix which-func-update doc string * lisp/progmodes/which-func.el (which-func-update): Make the doc string match the code (bug#54288). --- 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))))