aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation
diff options
context:
space:
mode:
authorEli Zaretskii2022-04-21 14:54:45 +0300
committerEli Zaretskii2022-04-21 14:54:45 +0300
commit16d1ab02af3335db38e596cfe8ff9c3d1db157ed (patch)
tree855958a6450285613851cc20d7607b0f42771c59 /lisp/emulation
parent4d4f5640ef0f1501bab174ae8d1b3759ba2b6ccc (diff)
downloademacs-16d1ab02af3335db38e596cfe8ff9c3d1db157ed.tar.gz
emacs-16d1ab02af3335db38e596cfe8ff9c3d1db157ed.zip
Add minimum instructions to 'query-replace' commands
* lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): * lisp/textmodes/reftex-global.el (reftex-query-replace-document): * lisp/progmodes/project.el (project-query-replace-regexp): * lisp/progmodes/etags.el (tags-query-replace): * lisp/progmodes/ebrowse.el (ebrowse-tags-query-replace): * lisp/isearch.el (isearch-query-replace, isearch-occur): * lisp/emulation/viper-cmd.el (viper-query-replace): * lisp/dired-aux.el (dired-do-query-replace-regexp) (dired-do-find-regexp-and-replace): * lisp/progmodes/xref.el (xref-query-replace-in-results): * lisp/replace.el (query-replace, query-replace-regexp) (query-replace-regexp-eval, map-query-replace-regexp): Add minimal instructions for dealing with matches, with a link to the command that shows the full instructions. (Bug#55050)
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/viper-cmd.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el
index 1f2f3ecfc38..e08d19c6115 100644
--- a/lisp/emulation/viper-cmd.el
+++ b/lisp/emulation/viper-cmd.el
@@ -4168,7 +4168,12 @@ cursor move past the beginning of line."
4168 "Query replace. 4168 "Query replace.
4169If a null string is supplied as the string to be replaced, 4169If a null string is supplied as the string to be replaced,
4170the query replace mode will toggle between string replace 4170the query replace mode will toggle between string replace
4171and regexp replace." 4171and regexp replace.
4172
4173As each match is found, the user must type a character saying
4174what to do with it. Type SPC or `y' to replace the match,
4175DEL or `n' to skip and go to the next match. For more directions,
4176type \\[help-command] at that time."
4172 (interactive) 4177 (interactive)
4173 (let (str) 4178 (let (str)
4174 (setq str (viper-read-string-with-history 4179 (setq str (viper-read-string-with-history