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 /lisp/replace.el | |
| 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.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 12 |
1 files changed, 6 insertions, 6 deletions
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 |