diff options
| author | Stefan Kangas | 2022-07-03 17:35:53 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-07-03 23:31:31 +0200 |
| commit | 05297e40c0ab3ffcf5b5db74e4aa2aaefe05f5cf (patch) | |
| tree | f195677e7923a18f8d6e772592f9446309ad680d | |
| parent | bda6e9a226f42d74176cba640dda7dfef25b764b (diff) | |
| download | emacs-05297e40c0ab3ffcf5b5db74e4aa2aaefe05f5cf.tar.gz emacs-05297e40c0ab3ffcf5b5db74e4aa2aaefe05f5cf.zip | |
Quote some literal keys to get help-key-binding face
* lisp/align.el (align):
* lisp/bindings.el (undo-repeat-map):
* lisp/calc/calc-embed.el (calc-do-embedded):
* lisp/calc/calc-prog.el (calc-user-define-invocation):
* lisp/calc/calc-yank.el (calc--edit-mode):
* lisp/comint.el (comint-history-isearch)
* lisp/dired.el (dired-mode):
* lisp/emulation/viper.el (viper-mode):
* lisp/erc/erc-button.el (erc-button-face):
* lisp/erc/erc-track.el (erc-track-enable-keybindings):
* lisp/gnus/gnus-art.el (gnus-article-button-face):
* lisp/gnus/gnus-eform.el (gnus-edit-form):
* lisp/gnus/gnus-sum.el (gnus-summary-stop-at-end-of-message)
(gnus-summary-goto-unread):
* lisp/icomplete.el (icomplete-show-matches-on-no-input):
* lisp/image-mode.el (image-scroll-up):
* lisp/international/iso-transl.el (iso-transl-set-language):
* lisp/isearch.el (isearch-forward-regexp):
* lisp/misc.el (butterfly):
* lisp/outline.el (outline-minor-mode-cycle-filter)
(outline-minor-mode-cycle):
* lisp/progmodes/grep.el (rgrep):
* lisp/progmodes/gud.el (gud-gdb-repeat-map, gud-sdb-repeat-map)
(gud-dbx-repeat-map, gud-xdb-repeat-map, gud-perldb-repeat-map)
(gud-pdb-repeat-map, gud-guiler-repeat-map, gud-jdb-repeat-map):
* lisp/progmodes/idlw-shell.el (idlwave-shell-graphics-window-size)
(idlwave-shell-mode):
* lisp/progmodes/idlwave.el (idlwave-shell-debug-modifiers)
(idlwave-list-shell-load-path-shadows):
* lisp/progmodes/python.el (python-shell-get-process-or-error):
* lisp/repeat.el (repeat-check-key):
* lisp/replace.el (query-replace, query-replace-regexp)
(read-regexp):
* lisp/simple.el (read-extended-command-predicate):
* lisp/tab-bar.el (tab-bar-switch-repeat-map)
(tab-bar-move-repeat-map):
* lisp/term.el (ansi-term):
* lisp/textmodes/reftex-index.el (reftex-index-phrases-set-macro-key):
* lisp/vc/emerge.el (emerge-scroll-left, emerge-scroll-right):
* lisp/windmove.el:
* lisp/winner.el (winner-mode): Quote literal keys to get
'help-key-binding' face.
* lisp/comint.el (comint-insert-previous-argument): Use regular
quotes.
33 files changed, 69 insertions, 68 deletions
diff --git a/lisp/align.el b/lisp/align.el index 9364d546654..1ee6bb0cacb 100644 --- a/lisp/align.el +++ b/lisp/align.el | |||
| @@ -841,8 +841,8 @@ Interactively, BEG and END are the mark/point of the current region. | |||
| 841 | 841 | ||
| 842 | Many modes define specific alignment rules, and some of these | 842 | Many modes define specific alignment rules, and some of these |
| 843 | rules in some modes react to the current prefix argument. For | 843 | rules in some modes react to the current prefix argument. For |
| 844 | instance, in `text-mode', `M-x align' will align into columns | 844 | instance, in `text-mode', \\`M-x align' will align into columns |
| 845 | based on space delimiters, while `C-u - M-x align' will align | 845 | based on space delimiters, while \\`C-u -' \\`M-x align' will align |
| 846 | into columns based on the \"$\" character. See the | 846 | into columns based on the \"$\" character. See the |
| 847 | `align-rules-list' variable definition for the specific rules. | 847 | `align-rules-list' variable definition for the specific rules. |
| 848 | 848 | ||
diff --git a/lisp/bindings.el b/lisp/bindings.el index c67a104b4c1..0cf1834a4fd 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el | |||
| @@ -1013,7 +1013,7 @@ if `inhibit-field-text-motion' is non-nil." | |||
| 1013 | (let ((map (make-sparse-keymap))) | 1013 | (let ((map (make-sparse-keymap))) |
| 1014 | (define-key map "u" 'undo) | 1014 | (define-key map "u" 'undo) |
| 1015 | map) | 1015 | map) |
| 1016 | "Keymap to repeat undo key sequences `C-x u u'. Used in `repeat-mode'.") | 1016 | "Keymap to repeat undo key sequences \\`C-x u u'. Used in `repeat-mode'.") |
| 1017 | (put 'undo 'repeat-map 'undo-repeat-map) | 1017 | (put 'undo 'repeat-map 'undo-repeat-map) |
| 1018 | 1018 | ||
| 1019 | (define-key global-map '[(control ??)] 'undo-redo) | 1019 | (define-key global-map '[(control ??)] 'undo-redo) |
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el index 9a580d9602a..bb427ef86e6 100644 --- a/lisp/calc/calc-embed.el +++ b/lisp/calc/calc-embed.el | |||
| @@ -335,7 +335,8 @@ | |||
| 335 | (message (concat | 335 | (message (concat |
| 336 | "Embedded Calc mode enabled; " | 336 | "Embedded Calc mode enabled; " |
| 337 | (if calc-embedded-quiet | 337 | (if calc-embedded-quiet |
| 338 | "Type `C-x * x'" | 338 | (substitute-command-keys |
| 339 | "Type \\`C-x * x'") | ||
| 339 | "Give this command again") | 340 | "Give this command again") |
| 340 | " to return to normal"))))) | 341 | " to return to normal"))))) |
| 341 | (scroll-down 0))) ; fix a bug which occurs when truncate-lines is changed. | 342 | (scroll-down 0))) ; fix a bug which occurs when truncate-lines is changed. |
diff --git a/lisp/calc/calc-prog.el b/lisp/calc/calc-prog.el index ec30ee7e0fa..f11d9741ec7 100644 --- a/lisp/calc/calc-prog.el +++ b/lisp/calc/calc-prog.el | |||
| @@ -678,7 +678,7 @@ | |||
| 678 | (or last-kbd-macro | 678 | (or last-kbd-macro |
| 679 | (error "No keyboard macro defined")) | 679 | (error "No keyboard macro defined")) |
| 680 | (setq calc-invocation-macro last-kbd-macro) | 680 | (setq calc-invocation-macro last-kbd-macro) |
| 681 | (message "Use `C-x * Z' to invoke this macro")) | 681 | (message (substitute-command-keys "Use \\`C-x * Z' to invoke this macro"))) |
| 682 | 682 | ||
| 683 | (defun calc-user-define-edit () | 683 | (defun calc-user-define-edit () |
| 684 | (interactive) ; but no calc-wrapper! | 684 | (interactive) ; but no calc-wrapper! |
diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el index c98505a0b1d..71cc68b0c20 100644 --- a/lisp/calc/calc-yank.el +++ b/lisp/calc/calc-yank.el | |||
| @@ -715,9 +715,9 @@ To cancel the edit, simply kill the *Calc Edit* buffer." | |||
| 715 | (insert (propertize | 715 | (insert (propertize |
| 716 | (concat | 716 | (concat |
| 717 | (or title title "Calc Edit Mode. ") | 717 | (or title title "Calc Edit Mode. ") |
| 718 | (format-message "Press `C-c C-c'") | 718 | (substitute-command-keys "Press \\`C-c C-c'") |
| 719 | (if allow-ret "" " or RET") | 719 | (if allow-ret "" " or RET") |
| 720 | (format-message " to finish, `C-x k RET' to cancel.\n\n")) | 720 | (substitute-command-keys " to finish, \\`C-x k RET' to cancel.\n\n")) |
| 721 | 'font-lock-face 'italic 'read-only t 'rear-nonsticky t 'front-sticky t)) | 721 | 'font-lock-face 'italic 'read-only t 'rear-nonsticky t 'front-sticky t)) |
| 722 | (setq-local calc-edit-top (point)))) | 722 | (setq-local calc-edit-top (point)))) |
| 723 | 723 | ||
diff --git a/lisp/comint.el b/lisp/comint.el index 92262eab321..4fc1ffcf0cd 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -1466,7 +1466,7 @@ A useful command to bind to SPC. See `comint-replace-by-expanded-history'." | |||
| 1466 | 1466 | ||
| 1467 | (defcustom comint-history-isearch nil | 1467 | (defcustom comint-history-isearch nil |
| 1468 | "Non-nil to Isearch in input history only, not in comint buffer output. | 1468 | "Non-nil to Isearch in input history only, not in comint buffer output. |
| 1469 | If t, usual Isearch keys like `C-r' and `C-M-r' in comint mode search | 1469 | If t, usual Isearch keys like \\`C-r' and \\`C-M-r' in comint mode search |
| 1470 | in the input history. | 1470 | in the input history. |
| 1471 | If `dwim', Isearch keys search in the input history only when initial | 1471 | If `dwim', Isearch keys search in the input history only when initial |
| 1472 | point position is at the comint command line. When starting Isearch | 1472 | point position is at the comint command line. When starting Isearch |
| @@ -2812,7 +2812,7 @@ Interactively, if no prefix argument is given, the last argument is inserted. | |||
| 2812 | Repeated interactive invocations will cycle through the same argument | 2812 | Repeated interactive invocations will cycle through the same argument |
| 2813 | from progressively earlier commands (using the value of INDEX specified | 2813 | from progressively earlier commands (using the value of INDEX specified |
| 2814 | with the first command). Values of INDEX < 0 count from the end, so | 2814 | with the first command). Values of INDEX < 0 count from the end, so |
| 2815 | INDEX = -1 is the last argument. This command is like `M-.' in | 2815 | INDEX = -1 is the last argument. This command is like \"M-.\" in |
| 2816 | Bash and zsh." | 2816 | Bash and zsh." |
| 2817 | (interactive "P") | 2817 | (interactive "P") |
| 2818 | (unless (null index) | 2818 | (unless (null index) |
diff --git a/lisp/dired.el b/lisp/dired.el index 6b9bb355431..3eff2187284 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -2469,7 +2469,7 @@ Type \\[dired-do-copy] to Copy files. | |||
| 2469 | Type \\[dired-sort-toggle-or-edit] to toggle Sorting by name/date or change the `ls' switches. | 2469 | Type \\[dired-sort-toggle-or-edit] to toggle Sorting by name/date or change the `ls' switches. |
| 2470 | Type \\[revert-buffer] to read all currently expanded directories aGain. | 2470 | Type \\[revert-buffer] to read all currently expanded directories aGain. |
| 2471 | This retains all marks and hides subdirs again that were hidden before. | 2471 | This retains all marks and hides subdirs again that were hidden before. |
| 2472 | Use `SPC' and `DEL' to move down and up by lines. | 2472 | Use \\`SPC' and \\`DEL' to move down and up by lines. |
| 2473 | 2473 | ||
| 2474 | If Dired ever gets confused, you can either type \\[revert-buffer] \ | 2474 | If Dired ever gets confused, you can either type \\[revert-buffer] \ |
| 2475 | to read the | 2475 | to read the |
diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index b1c361145ca..be87d788e92 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el | |||
| @@ -559,10 +559,10 @@ and improving upon much of it. | |||
| 559 | 2. Vi exit functions (e.g., :wq, ZZ) work on INDIVIDUAL files -- they | 559 | 2. Vi exit functions (e.g., :wq, ZZ) work on INDIVIDUAL files -- they |
| 560 | do not cause Emacs to quit, except at user level 1 (for a novice). | 560 | do not cause Emacs to quit, except at user level 1 (for a novice). |
| 561 | 3. ^X^C EXITS EMACS. | 561 | 3. ^X^C EXITS EMACS. |
| 562 | 4. Viper supports multiple undo: `u' will undo. Typing `.' will repeat | 562 | 4. Viper supports multiple undo: \\`u' will undo. Typing \\`.' will repeat |
| 563 | undo. Another `u' changes direction. | 563 | undo. Another \\`u' changes direction. |
| 564 | 564 | ||
| 565 | 6. Emacs Meta key is `C-\\' (in all modes) or `\\ ESC' (in Vi command mode). | 565 | 6. Emacs Meta key is \\`C-\\' (in all modes) or \\`\\ ESC' (in Vi command mode). |
| 566 | On a window system, the best way is to use the Meta-key on your keyboard. | 566 | On a window system, the best way is to use the Meta-key on your keyboard. |
| 567 | 7. Try \\[keyboard-quit] and \\[abort-recursive-edit] repeatedly,if | 567 | 7. Try \\[keyboard-quit] and \\[abort-recursive-edit] repeatedly,if |
| 568 | something funny happens. This would abort the current editing command. | 568 | something funny happens. This would abort the current editing command. |
| @@ -573,12 +573,12 @@ For more information on Viper: | |||
| 573 | b. Print Viper manual, found in ./etc/viper.dvi | 573 | b. Print Viper manual, found in ./etc/viper.dvi |
| 574 | c. Print the Quick Reference, found in ./etc/viperCard.dvi | 574 | c. Print the Quick Reference, found in ./etc/viperCard.dvi |
| 575 | 575 | ||
| 576 | To submit a bug report or to contact the author, type :submitReport in Vi | 576 | To submit a bug report or to contact the author, type \\`:submitReport' in Vi |
| 577 | command mode. To shoo Viper away and return to pure Emacs (horror!), type: | 577 | command mode. To shoo Viper away and return to pure Emacs (horror!), type: |
| 578 | 578 | ||
| 579 | \\[viper-go-away] | 579 | \\[viper-go-away] |
| 580 | 580 | ||
| 581 | This startup message appears whenever you load Viper, unless you type `y' now." | 581 | This startup message appears whenever you load Viper, unless you type \\`y' now." |
| 582 | )) | 582 | )) |
| 583 | (goto-char (point-min)) | 583 | (goto-char (point-min)) |
| 584 | (if (y-or-n-p "Inhibit Viper startup message? ") | 584 | (if (y-or-n-p "Inhibit Viper startup message? ") |
diff --git a/lisp/erc/erc-button.el b/lisp/erc/erc-button.el index aeada705c4a..bccf0e6f1f5 100644 --- a/lisp/erc/erc-button.el +++ b/lisp/erc/erc-button.el | |||
| @@ -71,7 +71,7 @@ | |||
| 71 | "Face used for highlighting buttons in ERC buffers. | 71 | "Face used for highlighting buttons in ERC buffers. |
| 72 | 72 | ||
| 73 | A button is a piece of text that you can activate by pressing | 73 | A button is a piece of text that you can activate by pressing |
| 74 | `RET' or `mouse-2' above it. See also `erc-button-keymap'." | 74 | \\`RET' or `mouse-2' above it. See also `erc-button-keymap'." |
| 75 | :type 'face | 75 | :type 'face |
| 76 | :group 'erc-faces) | 76 | :group 'erc-faces) |
| 77 | 77 | ||
diff --git a/lisp/erc/erc-track.el b/lisp/erc/erc-track.el index 59b79bcfd93..d02a8d13e5c 100644 --- a/lisp/erc/erc-track.el +++ b/lisp/erc/erc-track.el | |||
| @@ -46,7 +46,7 @@ | |||
| 46 | 46 | ||
| 47 | (defcustom erc-track-enable-keybindings 'ask | 47 | (defcustom erc-track-enable-keybindings 'ask |
| 48 | "Whether to enable the ERC track keybindings, namely: | 48 | "Whether to enable the ERC track keybindings, namely: |
| 49 | `C-c C-SPC' and `C-c C-@', which both do the same thing. | 49 | \\`C-c C-SPC' and \\`C-c C-@', which both do the same thing. |
| 50 | 50 | ||
| 51 | The default is to check to see whether these keys are used | 51 | The default is to check to see whether these keys are used |
| 52 | already: if not, then enable the ERC track minor mode, which | 52 | already: if not, then enable the ERC track minor mode, which |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 59c3bbc76ed..2a56a12dbba 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -743,7 +743,7 @@ Each element is a regular expression." | |||
| 743 | "Face used for highlighting buttons in the article buffer. | 743 | "Face used for highlighting buttons in the article buffer. |
| 744 | 744 | ||
| 745 | An article button is a piece of text that you can activate by pressing | 745 | An article button is a piece of text that you can activate by pressing |
| 746 | `RET' or `mouse-2' above it." | 746 | \\`RET' or `mouse-2' above it." |
| 747 | :type 'face | 747 | :type 'face |
| 748 | :group 'gnus-article-buttons) | 748 | :group 'gnus-article-buttons) |
| 749 | 749 | ||
diff --git a/lisp/gnus/gnus-eform.el b/lisp/gnus/gnus-eform.el index 300532de286..96f515119dc 100644 --- a/lisp/gnus/gnus-eform.el +++ b/lisp/gnus/gnus-eform.el | |||
| @@ -92,7 +92,7 @@ The optional LAYOUT overrides the `edit-form' window layout." | |||
| 92 | (insert ";;; ") | 92 | (insert ";;; ") |
| 93 | (forward-line 1)) | 93 | (forward-line 1)) |
| 94 | (insert (substitute-command-keys | 94 | (insert (substitute-command-keys |
| 95 | ";; Type `C-c C-c' after you've finished editing.\n")) | 95 | ";; Type \\`C-c C-c' after you've finished editing.\n")) |
| 96 | (insert "\n") | 96 | (insert "\n") |
| 97 | (let ((p (point))) | 97 | (let ((p (point))) |
| 98 | (gnus-pp form) | 98 | (gnus-pp form) |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index a4f98c91573..7f96e16c8ae 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -97,7 +97,7 @@ See `gnus-group-goto-unread'." | |||
| 97 | :type 'boolean) | 97 | :type 'boolean) |
| 98 | 98 | ||
| 99 | (defcustom gnus-summary-stop-at-end-of-message nil | 99 | (defcustom gnus-summary-stop-at-end-of-message nil |
| 100 | "If non-nil, don't select the next message when using `SPC'." | 100 | "If non-nil, don't select the next message when using \\`SPC'." |
| 101 | :link '(custom-manual "(gnus)Group Maneuvering") | 101 | :link '(custom-manual "(gnus)Group Maneuvering") |
| 102 | :group 'gnus-summary-maneuvering | 102 | :group 'gnus-summary-maneuvering |
| 103 | :version "24.1" | 103 | :version "24.1" |
| @@ -264,8 +264,8 @@ This variable will only be used if the value of | |||
| 264 | (defcustom gnus-summary-goto-unread nil | 264 | (defcustom gnus-summary-goto-unread nil |
| 265 | "If t, many commands will go to the next unread article. | 265 | "If t, many commands will go to the next unread article. |
| 266 | This applies to marking commands as well as other commands that | 266 | This applies to marking commands as well as other commands that |
| 267 | \"naturally\" select the next article, like, for instance, `SPC' at | 267 | \"naturally\" select the next article, like, for instance, \\`SPC' |
| 268 | the end of an article. | 268 | at the end of an article. |
| 269 | 269 | ||
| 270 | If nil, the marking commands do NOT go to the next unread article | 270 | If nil, the marking commands do NOT go to the next unread article |
| 271 | \(they go to the next article instead). If `never', commands that | 271 | \(they go to the next article instead). If `never', commands that |
diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 0bc6330cc5a..9640d98ca84 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el | |||
| @@ -81,7 +81,7 @@ selection process starts again from the user's $HOME.") | |||
| 81 | This means to show completions even when the current minibuffer contents | 81 | This means to show completions even when the current minibuffer contents |
| 82 | is the same as was the initial input after minibuffer activation. | 82 | is the same as was the initial input after minibuffer activation. |
| 83 | This also means that if you traverse the list of completions with | 83 | This also means that if you traverse the list of completions with |
| 84 | commands like `C-.' and just hit RET without typing any | 84 | commands like \\`C-.' and just hit \\`RET' without typing any |
| 85 | characters, the match under point will be chosen instead of the | 85 | characters, the match under point will be chosen instead of the |
| 86 | default." | 86 | default." |
| 87 | :type 'boolean | 87 | :type 'boolean |
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 684f2ff3fc1..46c555df278 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -286,7 +286,7 @@ Stop if the bottom edge of the image is reached. | |||
| 286 | Interactively, giving this command a numerical prefix will scroll | 286 | Interactively, giving this command a numerical prefix will scroll |
| 287 | up by that many lines (and down by that many lines if the number | 287 | up by that many lines (and down by that many lines if the number |
| 288 | is negative). Without a prefix, scroll up by a full screen. | 288 | is negative). Without a prefix, scroll up by a full screen. |
| 289 | If given a `C-u -' prefix, scroll a full page down instead. | 289 | If given a \\`C-u -' prefix, scroll a full page down instead. |
| 290 | 290 | ||
| 291 | If N is omitted or nil, scroll upward by a near full screen. | 291 | If N is omitted or nil, scroll upward by a near full screen. |
| 292 | A near full screen is `next-screen-context-lines' less than a full screen. | 292 | A near full screen is `next-screen-context-lines' less than a full screen. |
| @@ -314,7 +314,7 @@ Stop if the top edge of the image is reached. | |||
| 314 | Interactively, giving this command a numerical prefix will scroll | 314 | Interactively, giving this command a numerical prefix will scroll |
| 315 | down by that many lines (and up by that many lines if the number | 315 | down by that many lines (and up by that many lines if the number |
| 316 | is negative). Without a prefix, scroll down by a full screen. | 316 | is negative). Without a prefix, scroll down by a full screen. |
| 317 | If given a `C-u -' prefix, scroll a full page up instead. | 317 | If given a \\`C-u -' prefix, scroll a full page up instead. |
| 318 | 318 | ||
| 319 | If N is omitted or nil, scroll downward by a near full screen. | 319 | If N is omitted or nil, scroll downward by a near full screen. |
| 320 | A near full screen is `next-screen-context-lines' less than a full screen. | 320 | A near full screen is `next-screen-context-lines' less than a full screen. |
diff --git a/lisp/international/iso-transl.el b/lisp/international/iso-transl.el index 912c4b72a01..90fdc06b1e4 100644 --- a/lisp/international/iso-transl.el +++ b/lisp/international/iso-transl.el | |||
| @@ -375,12 +375,12 @@ sequence VECTOR. (VECTOR is normally one character long.)") | |||
| 375 | 375 | ||
| 376 | (defun iso-transl-set-language (lang) | 376 | (defun iso-transl-set-language (lang) |
| 377 | "Set shorter key bindings for some characters relevant for LANG. | 377 | "Set shorter key bindings for some characters relevant for LANG. |
| 378 | This affects the `C-x 8' prefix. | 378 | This affects the \\`C-x 8' prefix. |
| 379 | 379 | ||
| 380 | Note that only a few languages are supported, and for more | 380 | Note that only a few languages are supported, and for more |
| 381 | rigorous support it is recommended to use an input method | 381 | rigorous support it is recommended to use an input method |
| 382 | instead. Also note that many of these characters can be input | 382 | instead. Also note that many of these characters can be input |
| 383 | with the regular `C-x 8' map without having to specify a language | 383 | with the regular \\`C-x 8' map without having to specify a language |
| 384 | here." | 384 | here." |
| 385 | (interactive (list (let ((completion-ignore-case t)) | 385 | (interactive (list (let ((completion-ignore-case t)) |
| 386 | (completing-read "Set which language? " | 386 | (completing-read "Set which language? " |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 34c3665bd8c..db7b53c0147 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -1103,7 +1103,7 @@ In incremental searches, a space or spaces normally matches any | |||
| 1103 | whitespace defined by the variable `search-whitespace-regexp'. | 1103 | whitespace defined by the variable `search-whitespace-regexp'. |
| 1104 | To search for a literal space and nothing else, enter C-q SPC. | 1104 | To search for a literal space and nothing else, enter C-q SPC. |
| 1105 | To toggle whitespace matching, use `isearch-toggle-lax-whitespace', | 1105 | To toggle whitespace matching, use `isearch-toggle-lax-whitespace', |
| 1106 | usually bound to `M-s SPC' during isearch. | 1106 | usually bound to \\`M-s SPC' during isearch. |
| 1107 | This command does not support character folding." | 1107 | This command does not support character folding." |
| 1108 | (interactive "P\np") | 1108 | (interactive "P\np") |
| 1109 | (isearch-mode t (null not-regexp) nil (not no-recursive-edit))) | 1109 | (isearch-mode t (null not-regexp) nil (not no-recursive-edit))) |
diff --git a/lisp/misc.el b/lisp/misc.el index 8a01b51c6d3..28c5d6e07f5 100644 --- a/lisp/misc.el +++ b/lisp/misc.el | |||
| @@ -151,7 +151,7 @@ ripples outward, changing the flow of the eddy currents in the | |||
| 151 | upper atmosphere. These cause momentary pockets of higher-pressure | 151 | upper atmosphere. These cause momentary pockets of higher-pressure |
| 152 | air to form, which act as lenses that deflect incoming cosmic rays, | 152 | air to form, which act as lenses that deflect incoming cosmic rays, |
| 153 | focusing them to strike the drive platter and flip the desired bit. | 153 | focusing them to strike the drive platter and flip the desired bit. |
| 154 | You can type `M-x butterfly C-M-c' to run it. This is a permuted | 154 | You can type \\`M-x butterfly C-M-c' to run it. This is a permuted |
| 155 | variation of `C-x M-c M-butterfly' from url `https://xkcd.com/378/'." | 155 | variation of `C-x M-c M-butterfly' from url `https://xkcd.com/378/'." |
| 156 | (interactive) | 156 | (interactive) |
| 157 | (if (yes-or-no-p "Do you really want to unleash the powers of the butterfly? ") | 157 | (if (yes-or-no-p "Do you really want to unleash the powers of the butterfly? ") |
diff --git a/lisp/outline.el b/lisp/outline.el index 7fd43195cc0..38a37fb74d3 100644 --- a/lisp/outline.el +++ b/lisp/outline.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; outline.el --- outline mode commands for Emacs -*- lexical-binding: t; -*- | 1 | ;;; outline.el --- outline mode commands for Emacs -*- lexical-binding: t; -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1986, 1993-1995, 1997, 2000-2022 Free Software | 3 | ;; Copyright (C) 1986-2022 Free Software Foundation, Inc. |
| 4 | ;; Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Maintainer: emacs-devel@gnu.org | 5 | ;; Maintainer: emacs-devel@gnu.org |
| 7 | ;; Keywords: outlines | 6 | ;; Keywords: outlines |
| @@ -182,7 +181,7 @@ in the file it applies to.") | |||
| 182 | This option controls, in Outline minor mode, where on a heading typing | 181 | This option controls, in Outline minor mode, where on a heading typing |
| 183 | the key sequences bound to visibility-cycling commands like `outline-cycle' | 182 | the key sequences bound to visibility-cycling commands like `outline-cycle' |
| 184 | and `outline-cycle-buffer' will invoke those commands. By default, you can | 183 | and `outline-cycle-buffer' will invoke those commands. By default, you can |
| 185 | invoke these commands by typing `TAB' and `S-TAB' anywhere on a heading line, | 184 | invoke these commands by typing \\`TAB' and \\`S-TAB' anywhere on a heading line, |
| 186 | but customizing this option can make those bindings be in effect only at | 185 | but customizing this option can make those bindings be in effect only at |
| 187 | specific positions on the heading, like only at the line's beginning or | 186 | specific positions on the heading, like only at the line's beginning or |
| 188 | line's end. This allows these keys to be bound to their usual commands, | 187 | line's end. This allows these keys to be bound to their usual commands, |
| @@ -381,9 +380,9 @@ After that, changing the prefix key requires manipulating keymaps." | |||
| 381 | 380 | ||
| 382 | (defcustom outline-minor-mode-cycle nil | 381 | (defcustom outline-minor-mode-cycle nil |
| 383 | "Enable visibility-cycling commands on headings in `outline-minor-mode'. | 382 | "Enable visibility-cycling commands on headings in `outline-minor-mode'. |
| 384 | If enabled, typing `TAB' on a heading line cycles the visibility | 383 | If enabled, typing \\`TAB' on a heading line cycles the visibility |
| 385 | state of that heading's body between `hide all', `headings only' | 384 | state of that heading's body between `hide all', `headings only' |
| 386 | and `show all' (`outline-cycle'), and typing `S-TAB' on a heading | 385 | and `show all' (`outline-cycle'), and typing \\`S-TAB' on a heading |
| 387 | line likewise cycles the visibility state of the whole buffer | 386 | line likewise cycles the visibility state of the whole buffer |
| 388 | \(`outline-cycle-buffer'). | 387 | \(`outline-cycle-buffer'). |
| 389 | Typing these keys anywhere outside heading lines invokes their default | 388 | Typing these keys anywhere outside heading lines invokes their default |
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 4f90a534440..423de7d5818 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -1218,7 +1218,7 @@ to specify a command to run. | |||
| 1218 | If CONFIRM is non-nil, the user will be given an opportunity to edit the | 1218 | If CONFIRM is non-nil, the user will be given an opportunity to edit the |
| 1219 | command before it's run. | 1219 | command before it's run. |
| 1220 | 1220 | ||
| 1221 | Interactively, the user can use the `M-c' command while entering | 1221 | Interactively, the user can use the \\`M-c' command while entering |
| 1222 | the regexp to indicate whether the grep should be case sensitive | 1222 | the regexp to indicate whether the grep should be case sensitive |
| 1223 | or not." | 1223 | or not." |
| 1224 | (interactive | 1224 | (interactive |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 26fecf9c9f1..d277eef284b 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -334,7 +334,7 @@ Used to gray out relevant toolbar icons.") | |||
| 334 | (">" . gud-down))) | 334 | (">" . gud-down))) |
| 335 | (define-key map key cmd)) | 335 | (define-key map key cmd)) |
| 336 | map) | 336 | map) |
| 337 | "Keymap to repeat `gud-gdb' stepping instructions `C-x C-a C-n n n'. | 337 | "Keymap to repeat `gud-gdb' stepping instructions \\`C-x C-a C-n n n'. |
| 338 | Used in `repeat-mode'.") | 338 | Used in `repeat-mode'.") |
| 339 | 339 | ||
| 340 | (defun gud-set-repeat-map-property (keymap-symbol) | 340 | (defun gud-set-repeat-map-property (keymap-symbol) |
| @@ -1054,7 +1054,7 @@ SKIP is the number of chars to skip on each line, it defaults to 0." | |||
| 1054 | ("l" . gud-refresh))) | 1054 | ("l" . gud-refresh))) |
| 1055 | (define-key map key cmd)) | 1055 | (define-key map key cmd)) |
| 1056 | map) | 1056 | map) |
| 1057 | "Keymap to repeat `sdb' stepping instructions `C-x C-a C-n n n'. | 1057 | "Keymap to repeat `sdb' stepping instructions \\`C-x C-a C-n n n'. |
| 1058 | Used in `repeat-mode'.") | 1058 | Used in `repeat-mode'.") |
| 1059 | 1059 | ||
| 1060 | (defun gud-sdb-marker-filter (string) | 1060 | (defun gud-sdb-marker-filter (string) |
| @@ -1301,7 +1301,7 @@ whereby $stopformat=1 produces an output format compatible with | |||
| 1301 | gud-irix-p) | 1301 | gud-irix-p) |
| 1302 | (define-key map "f" 'gud-finish)) | 1302 | (define-key map "f" 'gud-finish)) |
| 1303 | map) | 1303 | map) |
| 1304 | "Keymap to repeat `dbx' stepping instructions `C-x C-a C-n n n'. | 1304 | "Keymap to repeat `dbx' stepping instructions \\`C-x C-a C-n n n'. |
| 1305 | Used in `repeat-mode'.") | 1305 | Used in `repeat-mode'.") |
| 1306 | 1306 | ||
| 1307 | ;; The process filter is also somewhat | 1307 | ;; The process filter is also somewhat |
| @@ -1476,7 +1476,7 @@ and source-file directory for your debugger." | |||
| 1476 | (">" . gud-down))) | 1476 | (">" . gud-down))) |
| 1477 | (define-key map key cmd)) | 1477 | (define-key map key cmd)) |
| 1478 | map) | 1478 | map) |
| 1479 | "Keymap to repeat `xdb' stepping instructions `C-x C-a C-n n n'. | 1479 | "Keymap to repeat `xdb' stepping instructions \\`C-x C-a C-n n n'. |
| 1480 | Used in `repeat-mode'.") | 1480 | Used in `repeat-mode'.") |
| 1481 | 1481 | ||
| 1482 | (defcustom gud-xdb-directories nil | 1482 | (defcustom gud-xdb-directories nil |
| @@ -1564,7 +1564,7 @@ directories if your program contains sources from more than one directory." | |||
| 1564 | ("l" . gud-refresh))) | 1564 | ("l" . gud-refresh))) |
| 1565 | (define-key map key cmd)) | 1565 | (define-key map key cmd)) |
| 1566 | map) | 1566 | map) |
| 1567 | "Keymap to repeat `perldb' stepping instructions `C-x C-a C-n n n'. | 1567 | "Keymap to repeat `perldb' stepping instructions \\`C-x C-a C-n n n'. |
| 1568 | Used in `repeat-mode'.") | 1568 | Used in `repeat-mode'.") |
| 1569 | 1569 | ||
| 1570 | (defun gud-perldb-massage-args (_file args) | 1570 | (defun gud-perldb-massage-args (_file args) |
| @@ -1754,7 +1754,7 @@ working directory and source-file directory for your debugger." | |||
| 1754 | (">" . gud-down))) | 1754 | (">" . gud-down))) |
| 1755 | (define-key map key cmd)) | 1755 | (define-key map key cmd)) |
| 1756 | map) | 1756 | map) |
| 1757 | "Keymap to repeat `pdb' stepping instructions `C-x C-a C-n n n'. | 1757 | "Keymap to repeat `pdb' stepping instructions \\`C-x C-a C-n n n'. |
| 1758 | Used in `repeat-mode'.") | 1758 | Used in `repeat-mode'.") |
| 1759 | 1759 | ||
| 1760 | ;; There's no guarantee that Emacs will hand the filter the entire | 1760 | ;; There's no guarantee that Emacs will hand the filter the entire |
| @@ -1871,7 +1871,7 @@ directory and source-file directory for your debugger." | |||
| 1871 | (">" . gud-down))) | 1871 | (">" . gud-down))) |
| 1872 | (define-key map key cmd)) | 1872 | (define-key map key cmd)) |
| 1873 | map) | 1873 | map) |
| 1874 | "Keymap to repeat `guiler' stepping instructions `C-x C-a C-n n n'. | 1874 | "Keymap to repeat `guiler' stepping instructions \\`C-x C-a C-n n n'. |
| 1875 | Used in `repeat-mode'.") | 1875 | Used in `repeat-mode'.") |
| 1876 | 1876 | ||
| 1877 | (defun gud-guiler-marker-filter (string) | 1877 | (defun gud-guiler-marker-filter (string) |
| @@ -2398,7 +2398,7 @@ extension EXTN. Normally EXTN is given as the regular expression | |||
| 2398 | ("l" . gud-refresh))) | 2398 | ("l" . gud-refresh))) |
| 2399 | (define-key map key cmd)) | 2399 | (define-key map key cmd)) |
| 2400 | map) | 2400 | map) |
| 2401 | "Keymap to repeat `jdb' stepping instructions `C-x C-a C-n n n'. | 2401 | "Keymap to repeat `jdb' stepping instructions \\`C-x C-a C-n n n'. |
| 2402 | Used in `repeat-mode'.") | 2402 | Used in `repeat-mode'.") |
| 2403 | 2403 | ||
| 2404 | (defun gud-jdb-find-source-using-classpath (p) | 2404 | (defun gud-jdb-find-source-using-classpath (p) |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index b6063521365..d21a9faec9d 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -231,7 +231,7 @@ because these are used as separators by IDL." | |||
| 231 | 231 | ||
| 232 | (defcustom idlwave-shell-graphics-window-size '(500 400) | 232 | (defcustom idlwave-shell-graphics-window-size '(500 400) |
| 233 | "Size of IDL graphics windows popped up by special IDLWAVE command. | 233 | "Size of IDL graphics windows popped up by special IDLWAVE command. |
| 234 | The command is `C-c C-d C-f' and accepts as a prefix the window nr. | 234 | The command is \\`C-c C-d C-f' and accepts as a prefix the window nr. |
| 235 | A command like `WINDOW,N,xsize=XX,ysize=YY' is sent to IDL." | 235 | A command like `WINDOW,N,xsize=XX,ysize=YY' is sent to IDL." |
| 236 | :group 'idlwave-shell-general-setup | 236 | :group 'idlwave-shell-general-setup |
| 237 | :type '(list | 237 | :type '(list |
| @@ -844,7 +844,7 @@ IDL has currently stepped.") | |||
| 844 | --------- | 844 | --------- |
| 845 | A complete set of commands for compiling and debugging IDL programs | 845 | A complete set of commands for compiling and debugging IDL programs |
| 846 | is available from the menu. Also keybindings starting with a | 846 | is available from the menu. Also keybindings starting with a |
| 847 | `C-c C-d' prefix are available for most commands in the *idl* buffer | 847 | \\`C-c C-d' prefix are available for most commands in the *idl* buffer |
| 848 | and also in source buffers. The best place to learn about the | 848 | and also in source buffers. The best place to learn about the |
| 849 | keybindings is again the menu. | 849 | keybindings is again the menu. |
| 850 | 850 | ||
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index f55e3449e4a..a2061fde762 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -1001,9 +1001,9 @@ Obsolete, if the IDL Assistant is being used for help." | |||
| 1001 | "List of modifiers to be used for the debugging commands. | 1001 | "List of modifiers to be used for the debugging commands. |
| 1002 | Will be used to bind debugging commands in the shell buffer and in all | 1002 | Will be used to bind debugging commands in the shell buffer and in all |
| 1003 | source buffers. These are additional convenience bindings, the debugging | 1003 | source buffers. These are additional convenience bindings, the debugging |
| 1004 | commands are always available with the `C-c C-d' prefix. | 1004 | commands are always available with the \\`C-c C-d' prefix. |
| 1005 | If you set this to (control shift), this means setting a breakpoint will | 1005 | If you set this to (control shift), this means setting a breakpoint will |
| 1006 | be on `C-S-b', compiling a source file on `C-S-c' etc. Possible modifiers | 1006 | be on \\`C-S-b', compiling a source file on \\`C-S-c' etc. Possible modifiers |
| 1007 | are `control', `meta', `super', `hyper', `alt', and `shift'." | 1007 | are `control', `meta', `super', `hyper', `alt', and `shift'." |
| 1008 | :group 'idlwave-shell-general-setup | 1008 | :group 'idlwave-shell-general-setup |
| 1009 | :type '(set :tag "Specify modifiers" | 1009 | :type '(set :tag "Specify modifiers" |
| @@ -8421,7 +8421,7 @@ was pressed." | |||
| 8421 | (defun idlwave-list-shell-load-path-shadows (&optional _arg) | 8421 | (defun idlwave-list-shell-load-path-shadows (&optional _arg) |
| 8422 | "List the load path shadows of all routines compiled under the shell. | 8422 | "List the load path shadows of all routines compiled under the shell. |
| 8423 | This is very useful for checking an IDL application. Just compile the | 8423 | This is very useful for checking an IDL application. Just compile the |
| 8424 | application, do RESOLVE_ALL, and `C-c C-i' to compile all referenced | 8424 | application, do RESOLVE_ALL, and \\`C-c C-i' to compile all referenced |
| 8425 | routines and update IDLWAVE internal info. Then check for shadowing | 8425 | routines and update IDLWAVE internal info. Then check for shadowing |
| 8426 | with this command." | 8426 | with this command." |
| 8427 | (interactive) | 8427 | (interactive) |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 7a626ae35ee..f1191b8faab 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3110,7 +3110,8 @@ of `error' with a user-friendly message." | |||
| 3110 | (or (python-shell-get-process) | 3110 | (or (python-shell-get-process) |
| 3111 | (if interactivep | 3111 | (if interactivep |
| 3112 | (user-error | 3112 | (user-error |
| 3113 | "Start a Python process first with `M-x run-python' or `%s'" | 3113 | (substitute-command-keys |
| 3114 | "Start a Python process first with \\`M-x run-python' or `%s'") | ||
| 3114 | ;; Get the binding. | 3115 | ;; Get the binding. |
| 3115 | (key-description | 3116 | (key-description |
| 3116 | (where-is-internal | 3117 | (where-is-internal |
diff --git a/lisp/repeat.el b/lisp/repeat.el index 608f7aaf987..d69640a29c4 100644 --- a/lisp/repeat.el +++ b/lisp/repeat.el | |||
| @@ -368,8 +368,8 @@ When non-nil and the last typed key (with or without modifiers) | |||
| 368 | doesn't exist in the keymap attached by the `repeat-map' property, | 368 | doesn't exist in the keymap attached by the `repeat-map' property, |
| 369 | then don't activate that keymap for the next command. So only the | 369 | then don't activate that keymap for the next command. So only the |
| 370 | same keys among repeatable keys are allowed in the repeating sequence. | 370 | same keys among repeatable keys are allowed in the repeating sequence. |
| 371 | For example, with a non-nil value, only `C-x u u' repeats undo, | 371 | For example, with a non-nil value, only \\`C-x u u' repeats undo, |
| 372 | whereas `C-/ u' doesn't. | 372 | whereas \\`C-/ u' doesn't. |
| 373 | 373 | ||
| 374 | You can also set the property `repeat-check-key' on the command symbol. | 374 | You can also set the property `repeat-check-key' on the command symbol. |
| 375 | This property can override the value of this variable. | 375 | This property can override the value of this variable. |
diff --git a/lisp/replace.el b/lisp/replace.el index 34c3d5299e4..163d5821486 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -415,7 +415,7 @@ word boundaries. A negative prefix arg means replace backward. | |||
| 415 | Use \\<minibuffer-local-map>\\[next-history-element] \ | 415 | Use \\<minibuffer-local-map>\\[next-history-element] \ |
| 416 | to pull the last incremental search string to the minibuffer | 416 | to pull the last incremental search string to the minibuffer |
| 417 | that reads FROM-STRING, or invoke replacements from | 417 | that reads FROM-STRING, or invoke replacements from |
| 418 | incremental search with a key sequence like `C-s C-s M-%' | 418 | incremental search with a key sequence like \\`C-s C-s M-%' |
| 419 | to use its current search string as the string to replace. | 419 | to use its current search string as the string to replace. |
| 420 | 420 | ||
| 421 | Matching is independent of case if both `case-fold-search' | 421 | Matching is independent of case if both `case-fold-search' |
| @@ -472,8 +472,8 @@ To customize possible responses, change the bindings in `query-replace-map'." | |||
| 472 | (defun query-replace-regexp (regexp to-string &optional delimited start end backward region-noncontiguous-p) | 472 | (defun query-replace-regexp (regexp to-string &optional delimited start end backward region-noncontiguous-p) |
| 473 | "Replace some things after point matching REGEXP with TO-STRING. | 473 | "Replace some things after point matching REGEXP with TO-STRING. |
| 474 | As each match is found, the user must type a character saying | 474 | As each match is found, the user must type a character saying |
| 475 | what to do with it. Type SPC or `y' to replace the match, | 475 | what to do with it. Type \\`SPC' or \\`y' to replace the match, |
| 476 | DEL or `n' to skip and go to the next match. For more directions, | 476 | \\`DEL' or \\`n' to skip and go to the next match. For more directions, |
| 477 | type \\[help-command] at that time. | 477 | type \\[help-command] at that time. |
| 478 | 478 | ||
| 479 | In Transient Mark mode, if the mark is active, operate on the contents | 479 | In Transient Mark mode, if the mark is active, operate on the contents |
| @@ -481,12 +481,12 @@ of the region. Otherwise, operate from point to the end of the buffer's | |||
| 481 | accessible portion. | 481 | accessible portion. |
| 482 | 482 | ||
| 483 | When invoked interactively, matching a newline with `\\n' will not work; | 483 | When invoked interactively, matching a newline with `\\n' will not work; |
| 484 | use `C-q C-j' instead. To match a tab character (`\\t'), just press `TAB'. | 484 | use \\`C-q C-j' instead. To match a tab character (`\\t'), just press \\`TAB'. |
| 485 | 485 | ||
| 486 | Use \\<minibuffer-local-map>\\[next-history-element] \ | 486 | Use \\<minibuffer-local-map>\\[next-history-element] \ |
| 487 | to pull the last incremental search regexp to the minibuffer | 487 | to pull the last incremental search regexp to the minibuffer |
| 488 | that reads REGEXP, or invoke replacements from | 488 | that reads REGEXP, or invoke replacements from |
| 489 | incremental search with a key sequence like `C-M-s C-M-s C-M-%' | 489 | incremental search with a key sequence like \\`C-M-s C-M-s C-M-%' |
| 490 | to use its current search regexp as the regexp to replace. | 490 | to use its current search regexp as the regexp to replace. |
| 491 | 491 | ||
| 492 | Matching is independent of case if both `case-fold-search' | 492 | Matching is independent of case if both `case-fold-search' |
| @@ -931,7 +931,7 @@ in \":\", followed by optional whitespace), DEFAULT is added to the prompt. | |||
| 931 | The optional argument HISTORY is a symbol to use for the history list. | 931 | The optional argument HISTORY is a symbol to use for the history list. |
| 932 | If nil, use `regexp-history'. | 932 | If nil, use `regexp-history'. |
| 933 | 933 | ||
| 934 | If the user has used the `M-c' command to specify case | 934 | If the user has used the \\`M-c' command to specify case |
| 935 | sensitivity, the returned string will have a text property named | 935 | sensitivity, the returned string will have a text property named |
| 936 | `case-fold' that has a value of either `fold' or | 936 | `case-fold' that has a value of either `fold' or |
| 937 | `inhibit-fold'. (It's up to the caller of `read-regexp' to | 937 | `inhibit-fold'. (It's up to the caller of `read-regexp' to |
diff --git a/lisp/simple.el b/lisp/simple.el index ea94727b3a7..d02a32b9447 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2211,7 +2211,7 @@ to get different commands to edit and resubmit." | |||
| 2211 | If it's nil, include all the commands. | 2211 | If it's nil, include all the commands. |
| 2212 | If it's a function, it will be called with two parameters: the | 2212 | If it's a function, it will be called with two parameters: the |
| 2213 | symbol of the command and a buffer. The predicate should return | 2213 | symbol of the command and a buffer. The predicate should return |
| 2214 | non-nil if the command should be present when doing `M-x TAB' | 2214 | non-nil if the command should be present when doing \\`M-x TAB' |
| 2215 | in that buffer." | 2215 | in that buffer." |
| 2216 | :version "28.1" | 2216 | :version "28.1" |
| 2217 | :group 'completion | 2217 | :group 'completion |
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 705b0725012..4ca177f73b7 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el | |||
| @@ -2425,7 +2425,7 @@ When `switch-to-buffer-obey-display-actions' is non-nil, | |||
| 2425 | (define-key map "o" 'tab-next) | 2425 | (define-key map "o" 'tab-next) |
| 2426 | (define-key map "O" 'tab-previous) | 2426 | (define-key map "O" 'tab-previous) |
| 2427 | map) | 2427 | map) |
| 2428 | "Keymap to repeat tab switch key sequences `C-x t o o O'. | 2428 | "Keymap to repeat tab switch key sequences \\`C-x t o o O'. |
| 2429 | Used in `repeat-mode'.") | 2429 | Used in `repeat-mode'.") |
| 2430 | (put 'tab-next 'repeat-map 'tab-bar-switch-repeat-map) | 2430 | (put 'tab-next 'repeat-map 'tab-bar-switch-repeat-map) |
| 2431 | (put 'tab-previous 'repeat-map 'tab-bar-switch-repeat-map) | 2431 | (put 'tab-previous 'repeat-map 'tab-bar-switch-repeat-map) |
| @@ -2435,7 +2435,7 @@ Used in `repeat-mode'.") | |||
| 2435 | (define-key map "m" 'tab-move) | 2435 | (define-key map "m" 'tab-move) |
| 2436 | (define-key map "M" 'tab-bar-move-tab-backward) | 2436 | (define-key map "M" 'tab-bar-move-tab-backward) |
| 2437 | map) | 2437 | map) |
| 2438 | "Keymap to repeat tab move key sequences `C-x t m m M'. | 2438 | "Keymap to repeat tab move key sequences \\`C-x t m m M'. |
| 2439 | Used in `repeat-mode'.") | 2439 | Used in `repeat-mode'.") |
| 2440 | (put 'tab-move 'repeat-map 'tab-bar-move-repeat-map) | 2440 | (put 'tab-move 'repeat-map 'tab-bar-move-repeat-map) |
| 2441 | (put 'tab-bar-move-tab-backward 'repeat-map 'tab-bar-move-repeat-map) | 2441 | (put 'tab-bar-move-tab-backward 'repeat-map 'tab-bar-move-repeat-map) |
diff --git a/lisp/term.el b/lisp/term.el index 3bf1531fcd9..c129ed976d5 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -4373,7 +4373,7 @@ the process. Any more args are arguments to PROGRAM." | |||
| 4373 | (defun ansi-term (program &optional new-buffer-name) | 4373 | (defun ansi-term (program &optional new-buffer-name) |
| 4374 | "Start a terminal-emulator in a new buffer. | 4374 | "Start a terminal-emulator in a new buffer. |
| 4375 | This is almost the same as `term' apart from always creating a new buffer, | 4375 | This is almost the same as `term' apart from always creating a new buffer, |
| 4376 | and `C-x' being marked as a `term-escape-char'." | 4376 | and \\`C-x' being marked as a `term-escape-char'." |
| 4377 | (interactive (list (read-from-minibuffer "Run program: " | 4377 | (interactive (list (read-from-minibuffer "Run program: " |
| 4378 | (or explicit-shell-file-name | 4378 | (or explicit-shell-file-name |
| 4379 | (getenv "ESHELL") | 4379 | (getenv "ESHELL") |
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index 9adf0c819bf..aeae389da64 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el | |||
| @@ -1685,8 +1685,8 @@ this function repeatedly." | |||
| 1685 | (defun reftex-index-phrases-set-macro-key () | 1685 | (defun reftex-index-phrases-set-macro-key () |
| 1686 | "Change the macro key for the current line. | 1686 | "Change the macro key for the current line. |
| 1687 | Prompts for a macro key and insert is at the beginning of the line. | 1687 | Prompts for a macro key and insert is at the beginning of the line. |
| 1688 | If you reply with SPACE, the macro keyn will be removed, so that the | 1688 | If you reply with \\`SPC', the macro key will be removed, so that the |
| 1689 | default macro will be used. If you reply with `RET', just prints | 1689 | default macro will be used. If you reply with \\`RET', just prints |
| 1690 | information about the currently selected macro." | 1690 | information about the currently selected macro." |
| 1691 | (interactive) | 1691 | (interactive) |
| 1692 | (reftex-index-phrases-parse-header) | 1692 | (reftex-index-phrases-parse-header) |
diff --git a/lisp/vc/emerge.el b/lisp/vc/emerge.el index b2fdb07d5fb..6e94ea07157 100644 --- a/lisp/vc/emerge.el +++ b/lisp/vc/emerge.el | |||
| @@ -1647,7 +1647,7 @@ the height of the merge window. | |||
| 1647 | (defun emerge-scroll-left (&optional arg) | 1647 | (defun emerge-scroll-left (&optional arg) |
| 1648 | "Scroll left all three merge buffers, if they are in windows. | 1648 | "Scroll left all three merge buffers, if they are in windows. |
| 1649 | If an argument is given, that is how many columns are scrolled, else nearly | 1649 | If an argument is given, that is how many columns are scrolled, else nearly |
| 1650 | the width of the A and B windows. `C-u -' alone as argument scrolls half the | 1650 | the width of the A and B windows. \\`C-u -' alone as argument scrolls half the |
| 1651 | width of the A and B windows." | 1651 | width of the A and B windows." |
| 1652 | (interactive "P") | 1652 | (interactive "P") |
| 1653 | (emerge-operate-on-windows | 1653 | (emerge-operate-on-windows |
| @@ -1675,7 +1675,7 @@ width of the A and B windows." | |||
| 1675 | (defun emerge-scroll-right (&optional arg) | 1675 | (defun emerge-scroll-right (&optional arg) |
| 1676 | "Scroll right all three merge buffers, if they are in windows. | 1676 | "Scroll right all three merge buffers, if they are in windows. |
| 1677 | If an argument is given, that is how many columns are scrolled, else nearly | 1677 | If an argument is given, that is how many columns are scrolled, else nearly |
| 1678 | the width of the A and B windows. `C-u -' alone as argument scrolls half the | 1678 | the width of the A and B windows. \\`C-u -' alone as argument scrolls half the |
| 1679 | width of the A and B windows." | 1679 | width of the A and B windows." |
| 1680 | (interactive "P") | 1680 | (interactive "P") |
| 1681 | (emerge-operate-on-windows | 1681 | (emerge-operate-on-windows |
diff --git a/lisp/windmove.el b/lisp/windmove.el index c8ea4fd1e54..958a9585dc3 100644 --- a/lisp/windmove.el +++ b/lisp/windmove.el | |||
| @@ -644,7 +644,7 @@ Default value of MODIFIERS is `shift-meta'." | |||
| 644 | (defun windmove-delete-in-direction (dir &optional arg) | 644 | (defun windmove-delete-in-direction (dir &optional arg) |
| 645 | "Delete the window at direction DIR. | 645 | "Delete the window at direction DIR. |
| 646 | If prefix ARG is `\\[universal-argument]', also kill the buffer in that window. | 646 | If prefix ARG is `\\[universal-argument]', also kill the buffer in that window. |
| 647 | With `M-0' prefix, delete the selected window and | 647 | With \\`M-0' prefix, delete the selected window and |
| 648 | select the window at direction DIR. | 648 | select the window at direction DIR. |
| 649 | When `windmove-wrap-around' is non-nil, takes the window | 649 | When `windmove-wrap-around' is non-nil, takes the window |
| 650 | from the opposite side of the frame." | 650 | from the opposite side of the frame." |
diff --git a/lisp/winner.el b/lisp/winner.el index e671b83880a..9b2433b4929 100644 --- a/lisp/winner.el +++ b/lisp/winner.el | |||
| @@ -343,8 +343,8 @@ Winner mode is a global minor mode that records the changes in | |||
| 343 | the window configuration (i.e. how the frames are partitioned | 343 | the window configuration (i.e. how the frames are partitioned |
| 344 | into windows) so that the changes can be \"undone\" using the | 344 | into windows) so that the changes can be \"undone\" using the |
| 345 | command `winner-undo'. By default this one is bound to the key | 345 | command `winner-undo'. By default this one is bound to the key |
| 346 | sequence `C-c <left>'. If you change your mind (while undoing), | 346 | sequence \\`C-c <left>'. If you change your mind (while undoing), |
| 347 | you can press `C-c <right>' (calling `winner-redo')." | 347 | you can press \\`C-c <right>' (calling `winner-redo')." |
| 348 | :global t | 348 | :global t |
| 349 | (if winner-mode | 349 | (if winner-mode |
| 350 | (progn | 350 | (progn |