emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 300f9d23c13 2/2: ; Fix last change (bug#64533)


From: Eli Zaretskii
Subject: master 300f9d23c13 2/2: ; Fix last change (bug#64533)
Date: Sat, 15 Jul 2023 04:01:42 -0400 (EDT)

branch: master
commit 300f9d23c13232cf20978aa619c3758ad49fa184
Author: Spencer Baugh <sbaugh@catern.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; 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'.
---
 etc/NEWS                     | 7 +++++++
 lisp/progmodes/which-func.el | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index d7f5fdc4cbb..3cfc36e10da 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
 
 +++
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 631d47bb729..09d0250515f 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]