; Fix last change (bug#64533)

* lisp/progmodes/which-func.el (which-func-display): Fix quoting
in the doc string.

* etc/NEWS: Announce 'which-func-display'.
This commit is contained in:
Spencer Baugh 2023-07-09 12:16:28 -04:00 committed by Eli Zaretskii
parent dcad72a779
commit 300f9d23c1
2 changed files with 9 additions and 2 deletions

View file

@ -264,6 +264,13 @@ docstring, or a comment, or (re)indents the surrounding defun if
point is not in a comment or a string. It is by default bound to
'M-q' in 'prog-mode' and all its descendants.
+++
*** Which Function Mode can now display function names on the header line.
The new user option 'which-func-display' allows choosing where the
function name is displayed. The default is 'mode' to display in the
mode line. 'header' will display in the header line;
'mode-and-header' displays in both the header line and mode line.
** Tramp
+++

View file

@ -89,8 +89,8 @@ activation of Which Function until Imenu is used for the first time."
(defcustom which-func-display 'mode
"Where to display the function name.
If 'mode, display in the mode line. If 'header, display in the
header line. If 'mode-and-header, display in both."
If `mode', display in the mode line. If `header', display in the
header line. If `mode-and-header', display in both."
:type '(choice (const :tag "Display in mode line" mode)
(const :tag "Display in header line" header)
(const :tag "Display in both header and mode line"