From 7605060d51bbce88307c09bd2e9be60f2750ee3d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 31 Aug 2020 04:35:17 +0200 Subject: [PATCH] Update Elisp Manual reference to which-function-mode * doc/lispref/modes.texi (Mode Line Top, Mode Line Variables) Don't refer to obsolete alias for 'which-function-mode'. (Bug#13716) --- doc/lispref/modes.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index e7049b4741b..4edda793e07 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -2047,7 +2047,7 @@ be useful for Shell mode (in reality, Shell mode does not set "%n" ")%]--" @group - '(which-func-mode ("" which-func-format "--")) + '(which-function-mode ("" which-func-format "--")) '(line-number-mode "L%l--") '(column-number-mode "C%c--") '(-3 "%p"))) @@ -2055,8 +2055,8 @@ be useful for Shell mode (in reality, Shell mode does not set @end example @noindent -(The variables @code{line-number-mode}, @code{column-number-mode} -and @code{which-func-mode} enable particular minor modes; as usual, +(The variables @code{line-number-mode}, @code{column-number-mode} and +@code{which-function-mode} enable particular minor modes; as usual, these variable names are also the minor mode command names.) @node Mode Line Variables @@ -2198,7 +2198,7 @@ enabled separately in each buffer. @defvar global-mode-string This variable holds a mode line construct that, by default, appears in -the mode line just after the @code{which-func-mode} minor mode if set, +the mode line just after the @code{which-function-mode} minor mode if set, else after @code{mode-line-modes}. The command @code{display-time} sets @code{global-mode-string} to refer to the variable @code{display-time-string}, which holds a string containing the time and @@ -2227,7 +2227,7 @@ specifies addition of text properties. " " @group mode-line-modes - (which-func-mode ("" which-func-format "--")) + (which-function-mode ("" which-func-format "--")) (global-mode-string ("--" global-mode-string)) "-%-") @end group -- 2.39.2