]> git.eshelyaron.com Git - emacs.git/commitdiff
read-regexp-suggestions doc string improvement
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 27 Jan 2021 02:47:02 +0000 (03:47 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 27 Jan 2021 02:47:02 +0000 (03:47 +0100)
* lisp/replace.el (read-regexp-suggestions): Add a link to the
manual to explain what a tag is (bug#46089).

lisp/replace.el

index cf1dcb4992f1757646d9fe27deafc46ca4eca677..32fbc24064c9107d8ad6ce49b9d286bf9203020e 100644 (file)
@@ -808,10 +808,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)