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).
This commit is contained in:
Lars Ingebrigtsen 2019-08-03 14:59:53 +02:00
parent 8edd4bc22a
commit 6c7ab768ee
2 changed files with 2 additions and 2 deletions

View file

@ -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 ...)))