diff options
| author | Lars Ingebrigtsen | 2019-08-03 14:59:53 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-08-03 14:59:53 +0200 |
| commit | 6c7ab768ee51352b2776d1fafbf2057cba5a36e4 (patch) | |
| tree | 26727ece8bf39fcf5cce548d8ebeb7508c94f989 | |
| parent | 8edd4bc22af5a255dc4941469cd30a835dcd1234 (diff) | |
| download | emacs-6c7ab768ee51352b2776d1fafbf2057cba5a36e4.tar.gz 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).
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/modes.texi | 2 |
2 files changed, 2 insertions, 2 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: | |||
| 17924 | #(" %[(" 0 6 | 17924 | #(" %[(" 0 6 |
| 17925 | (help-echo | 17925 | (help-echo |
| 17926 | "mouse-1: select window, mouse-2: delete others ...")) | 17926 | "mouse-1: select window, mouse-2: delete others ...")) |
| 17927 | (:eval (mode-line-mode-name)) | 17927 | (:eval (format-time-string "%F")) |
| 17928 | mode-line-process | 17928 | mode-line-process |
| 17929 | minor-mode-alist | 17929 | minor-mode-alist |
| 17930 | #("%n" 0 2 (help-echo "mouse-2: widen" local-map (keymap ...))) | 17930 | #("%n" 0 2 (help-echo "mouse-2: widen" local-map (keymap ...))) |
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index d12f2414245..764a67e3627 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi | |||
| @@ -2023,7 +2023,7 @@ be useful for Shell mode (in reality, Shell mode does not set | |||
| 2023 | " " | 2023 | " " |
| 2024 | 'global-mode-string | 2024 | 'global-mode-string |
| 2025 | " %[(" | 2025 | " %[(" |
| 2026 | '(:eval (mode-line-mode-name)) | 2026 | '(:eval (format-time-string "%F")) |
| 2027 | 'mode-line-process | 2027 | 'mode-line-process |
| 2028 | 'minor-mode-alist | 2028 | 'minor-mode-alist |
| 2029 | "%n" | 2029 | "%n" |