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

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
"mouse-1: select window, mouse-2: delete others ..."))
(:eval (mode-line-mode-name))
(:eval (format-time-string "%F"))
#("%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
" "
" %[("
'(:eval (mode-line-mode-name))
'(:eval (format-time-string "%F"))
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