Commit 6c7ab768 authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Don't refer to non-existent functions in mode line examples

* doc/lispintro/emacs-lisp-intro.texi (Mode Line): Ditto.

* doc/lispref/modes.texi (Mode Line Top): In the :eval example,
use a function that exists to avoid confusion (bug#19224).
parent 8edd4bc2
Pipeline #2728 passed with stage
in 53 minutes and 54 seconds
......@@ -17924,7 +17924,7 @@ My @file{.emacs} file has a section that looks like this:
#(" %[(" 0 6
(help-echo
"mouse-1: select window, mouse-2: delete others ..."))
(:eval (mode-line-mode-name))
(:eval (format-time-string "%F"))
mode-line-process
minor-mode-alist
#("%n" 0 2 (help-echo "mouse-2: widen" local-map (keymap ...)))
......
......@@ -2023,7 +2023,7 @@ be useful for Shell mode (in reality, Shell mode does not set
" "
'global-mode-string
" %[("
'(:eval (mode-line-mode-name))
'(:eval (format-time-string "%F"))
'mode-line-process
'minor-mode-alist
"%n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment