diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-03 14:59:53 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-03 14:59:53 +0200 |
commit | 6c7ab768ee51352b2776d1fafbf2057cba5a36e4 (patch) | |
tree | 26727ece8bf39fcf5cce548d8ebeb7508c94f989 /doc/lispintro | |
parent | 8edd4bc22af5a255dc4941469cd30a835dcd1234 (diff) | |
download | emacs-6c7ab768ee51352b2776d1fafbf2057cba5a36e4.tar.gz emacs-6c7ab768ee51352b2776d1fafbf2057cba5a36e4.tar.bz2 emacs-6c7ab768ee51352b2776d1fafbf2057cba5a36e4.zip |
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).
Diffstat (limited to 'doc/lispintro')
-rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index c03fbfc47b2..c97f6b7a52b 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -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 ...))) |