aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorStefan Kangas2022-07-03 17:35:53 +0200
committerStefan Kangas2022-07-03 23:31:31 +0200
commit05297e40c0ab3ffcf5b5db74e4aa2aaefe05f5cf (patch)
treef195677e7923a18f8d6e772592f9446309ad680d /lisp/replace.el
parentbda6e9a226f42d74176cba640dda7dfef25b764b (diff)
downloademacs-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.el12
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.
415Use \\<minibuffer-local-map>\\[next-history-element] \ 415Use \\<minibuffer-local-map>\\[next-history-element] \
416to pull the last incremental search string to the minibuffer 416to pull the last incremental search string to the minibuffer
417that reads FROM-STRING, or invoke replacements from 417that reads FROM-STRING, or invoke replacements from
418incremental search with a key sequence like `C-s C-s M-%' 418incremental search with a key sequence like \\`C-s C-s M-%'
419to use its current search string as the string to replace. 419to use its current search string as the string to replace.
420 420
421Matching is independent of case if both `case-fold-search' 421Matching 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.
474As each match is found, the user must type a character saying 474As each match is found, the user must type a character saying
475what to do with it. Type SPC or `y' to replace the match, 475what to do with it. Type \\`SPC' or \\`y' to replace the match,
476DEL 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,
477type \\[help-command] at that time. 477type \\[help-command] at that time.
478 478
479In Transient Mark mode, if the mark is active, operate on the contents 479In 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
481accessible portion. 481accessible portion.
482 482
483When invoked interactively, matching a newline with `\\n' will not work; 483When invoked interactively, matching a newline with `\\n' will not work;
484use `C-q C-j' instead. To match a tab character (`\\t'), just press `TAB'. 484use \\`C-q C-j' instead. To match a tab character (`\\t'), just press \\`TAB'.
485 485
486Use \\<minibuffer-local-map>\\[next-history-element] \ 486Use \\<minibuffer-local-map>\\[next-history-element] \
487to pull the last incremental search regexp to the minibuffer 487to pull the last incremental search regexp to the minibuffer
488that reads REGEXP, or invoke replacements from 488that reads REGEXP, or invoke replacements from
489incremental search with a key sequence like `C-M-s C-M-s C-M-%' 489incremental search with a key sequence like \\`C-M-s C-M-s C-M-%'
490to use its current search regexp as the regexp to replace. 490to use its current search regexp as the regexp to replace.
491 491
492Matching is independent of case if both `case-fold-search' 492Matching is independent of case if both `case-fold-search'
@@ -931,7 +931,7 @@ in \":\", followed by optional whitespace), DEFAULT is added to the prompt.
931The optional argument HISTORY is a symbol to use for the history list. 931The optional argument HISTORY is a symbol to use for the history list.
932If nil, use `regexp-history'. 932If nil, use `regexp-history'.
933 933
934If the user has used the `M-c' command to specify case 934If the user has used the \\`M-c' command to specify case
935sensitivity, the returned string will have a text property named 935sensitivity, 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