summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-01-27 03:47:02 +0100
committerEli Zaretskii <eliz@gnu.org>2021-01-27 17:18:55 +0200
commit0340e9eccbb15492064b8dfda9313793b49de752 (patch)
tree4a7cccc68a404a3d2e744e8a646b0850a5da9044
parent932aba674c9a64dfd970d7c2343517c7f4c7a409 (diff)
downloademacs-0340e9eccbb15492064b8dfda9313793b49de752.tar.gz
read-regexp-suggestions doc string improvement
* lisp/replace.el (read-regexp-suggestions): Add a link to the manual to explain what a tag is (bug#46089). (cherry picked from commit f9cc2d48246fe8370e9286866e6115ba8e2acf44)
-rw-r--r--lisp/replace.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index a7695951255..d1618a485ed 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -786,10 +786,12 @@ the function that you set this to can check `this-command'."
(defun read-regexp-suggestions ()
"Return a list of standard suggestions for `read-regexp'.
-By default, the list includes the tag at point, the last isearch regexp,
-the last isearch string, and the last replacement regexp. `read-regexp'
-appends the list returned by this function to the end of values available
-via \\<minibuffer-local-map>\\[next-history-element]."
+By default, the list includes the \"tag\" at point (see Info
+node `(emacs) Identifier Search'), the last isearch regexp, the
+last isearch string, and the last replacement regexp.
+`read-regexp' appends the list returned by this function to the
+end of values available via
+\\<minibuffer-local-map>\\[next-history-element]."
(list
(find-tag-default-as-regexp)
(find-tag-default-as-symbol-regexp)