From 5724ee61313c52a17f94ebad52f2e8e7a44fe7cd Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 11 Oct 2022 13:02:20 +0200 Subject: [PATCH] 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. --- lisp/textmodes/string-edit.el | 8 ++++++-- 1 file 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-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 -- 2.39.2