diff options
| author | Paul Eggert | 2015-08-21 14:08:47 -0700 |
|---|---|---|
| committer | Paul Eggert | 2015-08-21 14:09:47 -0700 |
| commit | c1cacb09948928287bfc32745f2a92604d3291c4 (patch) | |
| tree | ffda141622df981f55d25b8171fac6691a40f47f | |
| parent | 59f7943043fa4afb922f4553c9994e20c534fc57 (diff) | |
| download | emacs-c1cacb09948928287bfc32745f2a92604d3291c4.tar.gz emacs-c1cacb09948928287bfc32745f2a92604d3291c4.zip | |
Avoid hard-coding "M-x command" in docstrings
* lisp/calendar/todo-mode.el (todo-mode):
* lisp/desktop.el (desktop-save-mode):
* lisp/edmacro.el (edit-kbd-macro):
* lisp/emacs-lisp/package.el (package-menu-execute):
* lisp/emulation/viper-cmd.el (viper-ask-level):
* lisp/emulation/viper-init.el (viper-expert-level):
* lisp/filesets.el (filesets-add-buffer):
* lisp/follow.el (follow-mode):
* lisp/gnus/auth-source.el (auth-sources):
* lisp/international/ogonek.el (ogonek-informacja)
(ogonek-information):
* lisp/net/tramp.el (tramp-process-actions):
* lisp/org/org-gnus.el (org-gnus-no-new-news):
* lisp/org/org.el (org-ellipsis):
* lisp/progmodes/python.el (python-shell-get-process-or-error):
* lisp/progmodes/vhdl-mode.el (vhdl-mode):
* lisp/server.el (server-start):
* lisp/type-break.el (type-break-noninteractive-query):
* lisp/userlock.el (ask-user-about-supersession-help):
* lisp/whitespace.el (whitespace-report-region):
Prefer (substitute-command-keys "`\\[foo-command]'")
to "`M-x foo-command'" in docstrings and the like.
| -rw-r--r-- | lisp/calendar/todo-mode.el | 4 | ||||
| -rw-r--r-- | lisp/desktop.el | 4 | ||||
| -rw-r--r-- | lisp/edmacro.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/package.el | 3 | ||||
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 6 | ||||
| -rw-r--r-- | lisp/emulation/viper-init.el | 2 | ||||
| -rw-r--r-- | lisp/filesets.el | 3 | ||||
| -rw-r--r-- | lisp/follow.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/auth-source.el | 2 | ||||
| -rw-r--r-- | lisp/international/ogonek.el | 4 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 7 | ||||
| -rw-r--r-- | lisp/org/org-gnus.el | 2 | ||||
| -rw-r--r-- | lisp/org/org.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/vhdl-mode.el | 12 | ||||
| -rw-r--r-- | lisp/server.el | 5 | ||||
| -rw-r--r-- | lisp/type-break.el | 5 | ||||
| -rw-r--r-- | lisp/userlock.el | 2 | ||||
| -rw-r--r-- | lisp/whitespace.el | 6 |
19 files changed, 43 insertions, 33 deletions
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el index e780e4ee11e..925d00866d1 100644 --- a/lisp/calendar/todo-mode.el +++ b/lisp/calendar/todo-mode.el | |||
| @@ -6598,7 +6598,9 @@ Added to `window-configuration-change-hook' in Todo mode." | |||
| 6598 | 6598 | ||
| 6599 | \\{todo-mode-map}" | 6599 | \\{todo-mode-map}" |
| 6600 | (if (called-interactively-p 'any) | 6600 | (if (called-interactively-p 'any) |
| 6601 | (message "Type ‘M-x todo-show’ to enter Todo mode") | 6601 | (message "%s" |
| 6602 | (substitute-command-keys | ||
| 6603 | "Type ‘\\[todo-show]’ to enter Todo mode")) | ||
| 6602 | (todo-modes-set-1) | 6604 | (todo-modes-set-1) |
| 6603 | (todo-modes-set-2) | 6605 | (todo-modes-set-2) |
| 6604 | (todo-modes-set-3) | 6606 | (todo-modes-set-3) |
diff --git a/lisp/desktop.el b/lisp/desktop.el index c168f9c9d9a..9d023e3dc89 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -165,8 +165,8 @@ one session to another. In particular, Emacs will save the desktop when | |||
| 165 | it exits (this may prompt you; see the option `desktop-save'). The next | 165 | it exits (this may prompt you; see the option `desktop-save'). The next |
| 166 | time Emacs starts, if this mode is active it will restore the desktop. | 166 | time Emacs starts, if this mode is active it will restore the desktop. |
| 167 | 167 | ||
| 168 | To manually save the desktop at any time, use the command `M-x desktop-save'. | 168 | To manually save the desktop at any time, use the command `\\[desktop-save]'. |
| 169 | To load it, use `M-x desktop-read'. | 169 | To load it, use `\\[desktop-read]'. |
| 170 | 170 | ||
| 171 | Once a desktop file exists, Emacs will auto-save it according to the | 171 | Once a desktop file exists, Emacs will auto-save it according to the |
| 172 | option `desktop-auto-save-timeout'. | 172 | option `desktop-auto-save-timeout'. |
diff --git a/lisp/edmacro.el b/lisp/edmacro.el index 84dfd4f1ebf..acbd1e2f6b9 100644 --- a/lisp/edmacro.el +++ b/lisp/edmacro.el | |||
| @@ -89,7 +89,7 @@ Default nil means to write characters above \\177 in octal notation." | |||
| 89 | "Edit a keyboard macro. | 89 | "Edit a keyboard macro. |
| 90 | At the prompt, type any key sequence which is bound to a keyboard macro. | 90 | At the prompt, type any key sequence which is bound to a keyboard macro. |
| 91 | Or, type `C-x e' or RET to edit the last keyboard macro, `C-h l' to edit | 91 | Or, type `C-x e' or RET to edit the last keyboard macro, `C-h l' to edit |
| 92 | the last 300 keystrokes as a keyboard macro, or `M-x' to edit a macro by | 92 | the last 300 keystrokes as a keyboard macro, or `\\[execute-extended-command]' to edit a macro by |
| 93 | its command name. | 93 | its command name. |
| 94 | With a prefix argument, format the macro in a more concise way." | 94 | With a prefix argument, format the macro in a more concise way." |
| 95 | (interactive "kKeyboard macro to edit (C-x e, M-x, C-h l, or keys): \nP") | 95 | (interactive "kKeyboard macro to edit (C-x e, M-x, C-h l, or keys): \nP") |
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 863a02df252..4ff6e07f851 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el | |||
| @@ -3193,7 +3193,8 @@ Optional argument NOQUERY non-nil means do not ask the user to confirm." | |||
| 3193 | (if-let ((removable (package--removable-packages))) | 3193 | (if-let ((removable (package--removable-packages))) |
| 3194 | (message "Package menu: Operation finished. %d packages %s" | 3194 | (message "Package menu: Operation finished. %d packages %s" |
| 3195 | (length removable) | 3195 | (length removable) |
| 3196 | "are no longer needed, type `M-x package-autoremove' to remove them") | 3196 | (substitute-command-keys |
| 3197 | "are no longer needed, type `\\[package-autoremove]' to remove them")) | ||
| 3197 | (message (replace-regexp-in-string "__" "ed" message-template) | 3198 | (message (replace-regexp-in-string "__" "ed" message-template) |
| 3198 | "finished")))))))) | 3199 | "finished")))))))) |
| 3199 | 3200 | ||
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 5e1620df57c..40a37c7d8b6 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -4782,10 +4782,10 @@ sensitive for VI-style look-and-feel." | |||
| 4782 | (setq repeated t)) | 4782 | (setq repeated t)) |
| 4783 | (setq dont-change-unless t | 4783 | (setq dont-change-unless t |
| 4784 | level-changed t) | 4784 | level-changed t) |
| 4785 | (insert " | 4785 | (insert (substitute-command-keys " |
| 4786 | Please specify your level of familiarity with the venomous VI PERil | 4786 | Please specify your level of familiarity with the venomous VI PERil |
| 4787 | \(and the VI Plan for Emacs Rescue). | 4787 | \(and the VI Plan for Emacs Rescue). |
| 4788 | You can change it at any time by typing `M-x viper-set-expert-level RET' | 4788 | You can change it at any time by typing `\\[viper-set-expert-level]' |
| 4789 | 4789 | ||
| 4790 | 1 -- BEGINNER: Almost all Emacs features are suppressed. | 4790 | 1 -- BEGINNER: Almost all Emacs features are suppressed. |
| 4791 | Feels almost like straight Vi. File name completion and | 4791 | Feels almost like straight Vi. File name completion and |
| @@ -4803,7 +4803,7 @@ You can change it at any time by typing `M-x viper-set-expert-level RET' | |||
| 4803 | viper-electric-mode, viper-want-ctl-h-help, viper-want-emacs-keys-in-vi, | 4803 | viper-electric-mode, viper-want-ctl-h-help, viper-want-emacs-keys-in-vi, |
| 4804 | and viper-want-emacs-keys-in-insert. Adjust these to your taste. | 4804 | and viper-want-emacs-keys-in-insert. Adjust these to your taste. |
| 4805 | 4805 | ||
| 4806 | Please, specify your level now: ") | 4806 | Please, specify your level now: ")) |
| 4807 | 4807 | ||
| 4808 | (setq viper-expert-level (- (viper-read-char-exclusive) ?0)) | 4808 | (setq viper-expert-level (- (viper-read-char-exclusive) ?0)) |
| 4809 | ) ; end while | 4809 | ) ; end while |
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el index e575eee6c93..d03d703c1ed 100644 --- a/lisp/emulation/viper-init.el +++ b/lisp/emulation/viper-init.el | |||
| @@ -279,7 +279,7 @@ The minor mode viper-vi-diehard-minor-mode is in effect when | |||
| 279 | viper-expert-level is 1 or 2 or when viper-want-emacs-keys-in-vi is t. | 279 | viper-expert-level is 1 or 2 or when viper-want-emacs-keys-in-vi is t. |
| 280 | The minor mode viper-insert-diehard-minor-mode is in effect when | 280 | The minor mode viper-insert-diehard-minor-mode is in effect when |
| 281 | viper-expert-level is 1 or 2 or if viper-want-emacs-keys-in-insert is t. | 281 | viper-expert-level is 1 or 2 or if viper-want-emacs-keys-in-insert is t. |
| 282 | Use `M-x viper-set-expert-level' to change this.") | 282 | Use `\\[viper-set-expert-level]' to change this.") |
| 283 | 283 | ||
| 284 | ;; Max expert level supported by Viper. This is NOT a user option. | 284 | ;; Max expert level supported by Viper. This is NOT a user option. |
| 285 | ;; It is here to make it hard for the user from resetting it. | 285 | ;; It is here to make it hard for the user from resetting it. |
diff --git a/lisp/filesets.el b/lisp/filesets.el index f990333006b..a30c187676b 100644 --- a/lisp/filesets.el +++ b/lisp/filesets.el | |||
| @@ -1808,7 +1808,8 @@ User will be queried, if no fileset name is provided." | |||
| 1808 | (progn | 1808 | (progn |
| 1809 | (add-to-list 'filesets-data (list name '(:files))) | 1809 | (add-to-list 'filesets-data (list name '(:files))) |
| 1810 | (message | 1810 | (message |
| 1811 | "Fileset %s created. Call `M-x filesets-save-config' to save." | 1811 | (substitute-command-keys |
| 1812 | "Fileset %s created. Call `\\[filesets-save-config]' to save.") | ||
| 1812 | name) | 1813 | name) |
| 1813 | (car filesets-data)))))) | 1814 | (car filesets-data)))))) |
| 1814 | (if entry | 1815 | (if entry |
diff --git a/lisp/follow.el b/lisp/follow.el index abb874e7563..d62d5577dab 100644 --- a/lisp/follow.el +++ b/lisp/follow.el | |||
| @@ -405,7 +405,7 @@ mileage may vary). | |||
| 405 | 405 | ||
| 406 | To split one large window into two side-by-side windows, the commands | 406 | To split one large window into two side-by-side windows, the commands |
| 407 | `\\[split-window-right]' or \ | 407 | `\\[split-window-right]' or \ |
| 408 | `M-x follow-delete-other-windows-and-split' can be used. | 408 | `\\[follow-delete-other-windows-and-split]' can be used. |
| 409 | 409 | ||
| 410 | Only windows displayed in the same frame follow each other. | 410 | Only windows displayed in the same frame follow each other. |
| 411 | 411 | ||
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index d502a3b3904..0c0e63b100a 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el | |||
| @@ -242,7 +242,7 @@ EPA/EPG set up, the file will be encrypted and decrypted | |||
| 242 | automatically. See Info node `(epa)Encrypting/decrypting gpg files' | 242 | automatically. See Info node `(epa)Encrypting/decrypting gpg files' |
| 243 | for details. | 243 | for details. |
| 244 | 244 | ||
| 245 | It's best to customize this with `M-x customize-variable' because the choices | 245 | It's best to customize this with `\\[customize-variable]' because the choices |
| 246 | can get pretty complex." | 246 | can get pretty complex." |
| 247 | :group 'auth-source | 247 | :group 'auth-source |
| 248 | :version "24.1" ;; No Gnus | 248 | :version "24.1" ;; No Gnus |
diff --git a/lisp/international/ogonek.el b/lisp/international/ogonek.el index 27ac17ca80e..9e5a4501357 100644 --- a/lisp/international/ogonek.el +++ b/lisp/international/ogonek.el | |||
| @@ -75,7 +75,7 @@ are given in the following order: | |||
| 75 | Je/sli czytasz ten tekst, to albo przegl/adasz plik /xr/od/lowy | 75 | Je/sli czytasz ten tekst, to albo przegl/adasz plik /xr/od/lowy |
| 76 | biblioteki `ogonek.el', albo wywo/la/le/s polecenie `ogonek-jak'. | 76 | biblioteki `ogonek.el', albo wywo/la/le/s polecenie `ogonek-jak'. |
| 77 | W drugim przypadku mo/zesz usun/a/c tekst z ekranu, stosuj/ac | 77 | W drugim przypadku mo/zesz usun/a/c tekst z ekranu, stosuj/ac |
| 78 | polecenie `M-x kill-buffer'. | 78 | polecenie `\\[kill-buffer]'. |
| 79 | 79 | ||
| 80 | Niniejsza biblioteka dostarcza funkcji do zmiany kodowania polskich | 80 | Niniejsza biblioteka dostarcza funkcji do zmiany kodowania polskich |
| 81 | znak/ow diakrytycznych. Funkcje te mo/zna pogrupowa/c nast/epuj/aco. | 81 | znak/ow diakrytycznych. Funkcje te mo/zna pogrupowa/c nast/epuj/aco. |
| @@ -174,7 +174,7 @@ znak/ow diakrytycznych. Funkcje te mo/zna pogrupowa/c nast/epuj/aco. | |||
| 174 | 174 | ||
| 175 | If you read this text then you are either looking at the library's | 175 | If you read this text then you are either looking at the library's |
| 176 | source text or you have called the `ogonek-how' command. In the | 176 | source text or you have called the `ogonek-how' command. In the |
| 177 | latter case you may remove this text using `M-x kill-buffer'. | 177 | latter case you may remove this text using `\\[kill-buffer]'. |
| 178 | 178 | ||
| 179 | The library provides functions for changing the encoding of Polish | 179 | The library provides functions for changing the encoding of Polish |
| 180 | diacritic characters, the ones with an `ogonek' below or above them. | 180 | diacritic characters, the ones with an `ogonek' below or above them. |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index e534b5841b6..193d70b230a 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -3594,9 +3594,10 @@ connection buffer." | |||
| 3594 | (cond | 3594 | (cond |
| 3595 | ((eq exit 'permission-denied) "Permission denied") | 3595 | ((eq exit 'permission-denied) "Permission denied") |
| 3596 | ((eq exit 'process-died) | 3596 | ((eq exit 'process-died) |
| 3597 | (concat | 3597 | (substitute-command-keys |
| 3598 | "Tramp failed to connect. If this happens repeatedly, try\n" | 3598 | (concat |
| 3599 | " `M-x tramp-cleanup-this-connection'")) | 3599 | "Tramp failed to connect. If this happens repeatedly, try\n" |
| 3600 | " `\\[tramp-cleanup-this-connection]'"))) | ||
| 3600 | ((eq exit 'timeout) | 3601 | ((eq exit 'timeout) |
| 3601 | (format | 3602 | (format |
| 3602 | "Timeout reached, see buffer `%s' for details" | 3603 | "Timeout reached, see buffer `%s' for details" |
diff --git a/lisp/org/org-gnus.el b/lisp/org/org-gnus.el index 8b616f0a0ff..06f00a4950c 100644 --- a/lisp/org/org-gnus.el +++ b/lisp/org/org-gnus.el | |||
| @@ -291,7 +291,7 @@ If `org-store-link' was called with a prefix arg the meaning of | |||
| 291 | (group (gnus-group-jump-to-group group)))) | 291 | (group (gnus-group-jump-to-group group)))) |
| 292 | 292 | ||
| 293 | (defun org-gnus-no-new-news () | 293 | (defun org-gnus-no-new-news () |
| 294 | "Like `M-x gnus' but doesn't check for new news." | 294 | "Like `\\[gnus]' but doesn't check for new news." |
| 295 | (if (not (gnus-alive-p)) (if org-gnus-no-server (gnus-no-server) (gnus)))) | 295 | (if (not (gnus-alive-p)) (if org-gnus-no-server (gnus-no-server) (gnus)))) |
| 296 | 296 | ||
| 297 | (provide 'org-gnus) | 297 | (provide 'org-gnus) |
diff --git a/lisp/org/org.el b/lisp/org/org.el index 0cc185c0d75..326fb96fa13 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -827,7 +827,7 @@ When nil, just use the standard three dots. | |||
| 827 | When a string, use that string instead. | 827 | When a string, use that string instead. |
| 828 | When a face, use the standard 3 dots, but with the specified face. | 828 | When a face, use the standard 3 dots, but with the specified face. |
| 829 | The change affects only Org-mode (which will then use its own display table). | 829 | The change affects only Org-mode (which will then use its own display table). |
| 830 | Changing this requires executing `M-x org-mode RET' in a buffer to become | 830 | Changing this requires executing `\\[org-mode]' in a buffer to become |
| 831 | effective." | 831 | effective." |
| 832 | :group 'org-startup | 832 | :group 'org-startup |
| 833 | :type '(choice (const :tag "Default" nil) | 833 | :type '(choice (const :tag "Default" nil) |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 0b7b9b7f501..189cd3759f5 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2720,7 +2720,8 @@ of `error' with a user-friendly message." | |||
| 2720 | (or (python-shell-get-process) | 2720 | (or (python-shell-get-process) |
| 2721 | (if interactivep | 2721 | (if interactivep |
| 2722 | (user-error | 2722 | (user-error |
| 2723 | "Start a Python process first with `M-x run-python' or `%s'." | 2723 | "Start a Python process first with ‘%s’ or ‘%s’." |
| 2724 | (substitute-command-keys "\\[run-python]") | ||
| 2724 | ;; Get the binding. | 2725 | ;; Get the binding. |
| 2725 | (key-description | 2726 | (key-description |
| 2726 | (where-is-internal | 2727 | (where-is-internal |
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index 2edacf4e69a..451acd2cb9c 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -4421,7 +4421,7 @@ Usage: | |||
| 4421 | according to option `vhdl-argument-list-indent'. | 4421 | according to option `vhdl-argument-list-indent'. |
| 4422 | 4422 | ||
| 4423 | If option `vhdl-indent-tabs-mode' is nil, spaces are used instead of | 4423 | If option `vhdl-indent-tabs-mode' is nil, spaces are used instead of |
| 4424 | tabs. `M-x tabify' and `M-x untabify' allow to convert spaces to tabs | 4424 | tabs. `\\[tabify]' and `\\[untabify]' allow to convert spaces to tabs |
| 4425 | and vice versa. | 4425 | and vice versa. |
| 4426 | 4426 | ||
| 4427 | Syntax-based indentation can be very slow in large files. Option | 4427 | Syntax-based indentation can be very slow in large files. Option |
| @@ -4732,7 +4732,7 @@ Usage: | |||
| 4732 | `vhdl-highlight-translate-off' is non-nil. | 4732 | `vhdl-highlight-translate-off' is non-nil. |
| 4733 | 4733 | ||
| 4734 | For documentation and customization of the used colors see | 4734 | For documentation and customization of the used colors see |
| 4735 | customization group `vhdl-highlight-faces' (`M-x customize-group'). For | 4735 | customization group `vhdl-highlight-faces' (`\\[customize-group]'). For |
| 4736 | highlighting of matching parenthesis, see customization group | 4736 | highlighting of matching parenthesis, see customization group |
| 4737 | `paren-showing'. Automatic buffer highlighting is turned on/off by | 4737 | `paren-showing'. Automatic buffer highlighting is turned on/off by |
| 4738 | option `global-font-lock-mode' (`font-lock-auto-fontify' in XEmacs). | 4738 | option `global-font-lock-mode' (`font-lock-auto-fontify' in XEmacs). |
| @@ -4792,14 +4792,14 @@ Usage: | |||
| 4792 | sessions using the \"Save Options\" menu entry. | 4792 | sessions using the \"Save Options\" menu entry. |
| 4793 | 4793 | ||
| 4794 | Options and their detailed descriptions can also be accessed by using | 4794 | Options and their detailed descriptions can also be accessed by using |
| 4795 | the \"Customize\" menu entry or the command `M-x customize-option' (`M-x | 4795 | the \"Customize\" menu entry or the command `\\[customize-option]' |
| 4796 | customize-group' for groups). Some customizations only take effect | 4796 | (`\\[customize-group]' for groups). Some customizations only take effect |
| 4797 | after some action (read the NOTE in the option documentation). | 4797 | after some action (read the NOTE in the option documentation). |
| 4798 | Customization can also be done globally (i.e. site-wide, read the | 4798 | Customization can also be done globally (i.e. site-wide, read the |
| 4799 | INSTALL file). | 4799 | INSTALL file). |
| 4800 | 4800 | ||
| 4801 | Not all options are described in this documentation, so go and see | 4801 | Not all options are described in this documentation, so go and see |
| 4802 | what other useful user options there are (`M-x vhdl-customize' or menu)! | 4802 | what other useful user options there are (`\\[vhdl-customize]' or menu)! |
| 4803 | 4803 | ||
| 4804 | 4804 | ||
| 4805 | FILE EXTENSIONS: | 4805 | FILE EXTENSIONS: |
| @@ -4828,7 +4828,7 @@ Usage: | |||
| 4828 | Maintenance: | 4828 | Maintenance: |
| 4829 | ------------ | 4829 | ------------ |
| 4830 | 4830 | ||
| 4831 | To submit a bug report, enter `M-x vhdl-submit-bug-report' within VHDL Mode. | 4831 | To submit a bug report, enter `\\[vhdl-submit-bug-report]' within VHDL Mode. |
| 4832 | Add a description of the problem and include a reproducible test case. | 4832 | Add a description of the problem and include a reproducible test case. |
| 4833 | 4833 | ||
| 4834 | Questions and enhancement requests can be sent to <reto@gnu.org>. | 4834 | Questions and enhancement requests can be sent to <reto@gnu.org>. |
diff --git a/lisp/server.el b/lisp/server.el index b6b0e97aa36..bcadcc4317a 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -624,8 +624,9 @@ To force-start a server, do \\[server-force-delete] and then | |||
| 624 | (concat "Unable to start the Emacs server.\n" | 624 | (concat "Unable to start the Emacs server.\n" |
| 625 | (format "There is an existing Emacs server, named %S.\n" | 625 | (format "There is an existing Emacs server, named %S.\n" |
| 626 | server-name) | 626 | server-name) |
| 627 | "To start the server in this Emacs process, stop the existing | 627 | (substitute-command-keys |
| 628 | server or call `M-x server-force-delete' to forcibly disconnect it.") | 628 | "To start the server in this Emacs process, stop the existing |
| 629 | server or call `\\[server-force-delete]' to forcibly disconnect it.")) | ||
| 629 | :warning) | 630 | :warning) |
| 630 | (setq leave-dead t)) | 631 | (setq leave-dead t)) |
| 631 | ;; If this Emacs already had a server, clear out associated status. | 632 | ;; If this Emacs already had a server, clear out associated status. |
diff --git a/lisp/type-break.el b/lisp/type-break.el index 5a12f02f876..c7043b5c0e4 100644 --- a/lisp/type-break.el +++ b/lisp/type-break.el | |||
| @@ -803,8 +803,9 @@ this or ask the user to start one right now." | |||
| 803 | (type-break-mode-line-message-mode) | 803 | (type-break-mode-line-message-mode) |
| 804 | (t | 804 | (t |
| 805 | (beep t) | 805 | (beep t) |
| 806 | (message "%sYou should take a typing break now. Do `M-x type-break'." | 806 | (message "%sYou should take a typing break now. Do ‘%s’." |
| 807 | (type-break-time-stamp)) | 807 | (type-break-time-stamp) |
| 808 | (substitute-command-keys "\\[type-break]")) | ||
| 808 | (sit-for 1) | 809 | (sit-for 1) |
| 809 | (beep t) | 810 | (beep t) |
| 810 | ;; return nil so query caller knows to reset reminder, as if user | 811 | ;; return nil so query caller knows to reset reminder, as if user |
diff --git a/lisp/userlock.el b/lisp/userlock.el index c47bc4c9bd1..781023c7449 100644 --- a/lisp/userlock.el +++ b/lisp/userlock.el | |||
| @@ -142,7 +142,7 @@ If you say `r' to revert, the contents of the buffer are refreshed | |||
| 142 | from the file on disk. | 142 | from the file on disk. |
| 143 | If you say `n', the change you started to make will be aborted. | 143 | If you say `n', the change you started to make will be aborted. |
| 144 | 144 | ||
| 145 | Usually, you should type `n' and then `M-x revert-buffer', | 145 | Usually, you should type `n' and then `\\[revert-buffer]', |
| 146 | to get the latest version of the file, then make the change again.") | 146 | to get the latest version of the file, then make the change again.") |
| 147 | (with-current-buffer standard-output | 147 | (with-current-buffer standard-output |
| 148 | (help-mode)))) | 148 | (help-mode)))) |
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index a1a6c3ce04a..ddc37f10180 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -1866,9 +1866,11 @@ cleaning up these problems." | |||
| 1866 | (whitespace-insert-value ws-tab-width) | 1866 | (whitespace-insert-value ws-tab-width) |
| 1867 | (when has-bogus | 1867 | (when has-bogus |
| 1868 | (goto-char (point-max)) | 1868 | (goto-char (point-max)) |
| 1869 | (insert " Type `M-x whitespace-cleanup'" | 1869 | (insert (substitute-command-keys |
| 1870 | " Type ‘\\[whitespace-cleanup]’") | ||
| 1870 | " to cleanup the buffer.\n\n" | 1871 | " to cleanup the buffer.\n\n" |
| 1871 | " Type `M-x whitespace-cleanup-region'" | 1872 | (substitute-command-keys |
| 1873 | " Type ‘\\[whitespace-cleanup-region]’") | ||
| 1872 | " to cleanup a region.\n\n")) | 1874 | " to cleanup a region.\n\n")) |
| 1873 | (whitespace-display-window (current-buffer))))) | 1875 | (whitespace-display-window (current-buffer))))) |
| 1874 | has-bogus)))) | 1876 | has-bogus)))) |