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)
This commit is contained in:
Stefan Kangas 2020-08-31 04:35:17 +02:00
parent 29708cbde7
commit 7605060d51

View file

@ -2047,7 +2047,7 @@ be useful for Shell mode (in reality, Shell mode does not set
"%n" "%n"
")%]--" ")%]--"
@group @group
'(which-func-mode ("" which-func-format "--")) '(which-function-mode ("" which-func-format "--"))
'(line-number-mode "L%l--") '(line-number-mode "L%l--")
'(column-number-mode "C%c--") '(column-number-mode "C%c--")
'(-3 "%p"))) '(-3 "%p")))
@ -2055,8 +2055,8 @@ be useful for Shell mode (in reality, Shell mode does not set
@end example @end example
@noindent @noindent
(The variables @code{line-number-mode}, @code{column-number-mode} (The variables @code{line-number-mode}, @code{column-number-mode} and
and @code{which-func-mode} enable particular minor modes; as usual, @code{which-function-mode} enable particular minor modes; as usual,
these variable names are also the minor mode command names.) these variable names are also the minor mode command names.)
@node Mode Line Variables @node Mode Line Variables
@ -2198,7 +2198,7 @@ enabled separately in each buffer.
@defvar global-mode-string @defvar global-mode-string
This variable holds a mode line construct that, by default, appears in 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 else after @code{mode-line-modes}. The command @code{display-time} sets
@code{global-mode-string} to refer to the variable @code{global-mode-string} to refer to the variable
@code{display-time-string}, which holds a string containing the time and @code{display-time-string}, which holds a string containing the time and
@ -2227,7 +2227,7 @@ specifies addition of text properties.
" " " "
@group @group
mode-line-modes mode-line-modes
(which-func-mode ("" which-func-format "--")) (which-function-mode ("" which-func-format "--"))
(global-mode-string ("--" global-mode-string)) (global-mode-string ("--" global-mode-string))
"-%-") "-%-")
@end group @end group