summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-10-11 13:02:20 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-10-11 13:02:27 +0200
commit5724ee61313c52a17f94ebad52f2e8e7a44fe7cd (patch)
treea4ecaf011efe44db69880403c2b6f509cfa69306 /lisp/textmodes
parent4f114c0d95caa0e26de3d188cebe9e3cbcb2dee8 (diff)
downloademacs-5724ee61313c52a17f94ebad52f2e8e7a44fe7cd.tar.gz
Make read-string-from-buffer and string-edit mention each other
* lisp/textmodes/string-edit.el (read-string-from-buffer) (string-edit): Mention each other in the doc strings.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/string-edit.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/textmodes/string-edit.el b/lisp/textmodes/string-edit.el
index 53850674ac0..562ab60d137 100644
--- a/lisp/textmodes/string-edit.el
+++ b/lisp/textmodes/string-edit.el
@@ -46,7 +46,9 @@ called with no parameters.
PROMPT will be inserted at the start of the buffer, but won't be
included in the resulting string. If PROMPT is nil, no help text
-will be inserted."
+will be inserted.
+
+Also see `read-string-from-buffer'."
(with-current-buffer (generate-new-buffer "*edit string*")
(when prompt
(let ((inhibit-read-only t))
@@ -88,7 +90,9 @@ The user finishes editing with \\<string-edit-mode-map>\\[string-edit-done], or
PROMPT will be inserted at the start of the buffer, but won't be
included in the resulting string. If nil, no prompt will be
-inserted in the buffer."
+inserted in the buffer.
+
+Also see `string-edit'."
(string-edit
prompt
string