[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f9cc2d4 1/2: read-regexp-suggestions doc string improvement
From: |
Lars Ingebrigtsen |
Subject: |
master f9cc2d4 1/2: read-regexp-suggestions doc string improvement |
Date: |
Tue, 26 Jan 2021 22:27:51 -0500 (EST) |
branch: master
commit f9cc2d48246fe8370e9286866e6115ba8e2acf44
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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).
---
lisp/replace.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/lisp/replace.el b/lisp/replace.el
index cf1dcb4..32fbc24 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -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)