aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-10-11 13:02:20 +0200
committerLars Ingebrigtsen2022-10-11 13:02:27 +0200
commit5724ee61313c52a17f94ebad52f2e8e7a44fe7cd (patch)
treea4ecaf011efe44db69880403c2b6f509cfa69306
parent4f114c0d95caa0e26de3d188cebe9e3cbcb2dee8 (diff)
downloademacs-5724ee61313c52a17f94ebad52f2e8e7a44fe7cd.tar.gz
emacs-5724ee61313c52a17f94ebad52f2e8e7a44fe7cd.zip
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.
-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.
46 46
47PROMPT will be inserted at the start of the buffer, but won't be 47PROMPT will be inserted at the start of the buffer, but won't be
48included in the resulting string. If PROMPT is nil, no help text 48included in the resulting string. If PROMPT is nil, no help text
49will be inserted." 49will be inserted.
50
51Also see `read-string-from-buffer'."
50 (with-current-buffer (generate-new-buffer "*edit string*") 52 (with-current-buffer (generate-new-buffer "*edit string*")
51 (when prompt 53 (when prompt
52 (let ((inhibit-read-only t)) 54 (let ((inhibit-read-only t))
@@ -88,7 +90,9 @@ The user finishes editing with \\<string-edit-mode-map>\\[string-edit-done], or
88 90
89PROMPT will be inserted at the start of the buffer, but won't be 91PROMPT will be inserted at the start of the buffer, but won't be
90included in the resulting string. If nil, no prompt will be 92included in the resulting string. If nil, no prompt will be
91inserted in the buffer." 93inserted in the buffer.
94
95Also see `string-edit'."
92 (string-edit 96 (string-edit
93 prompt 97 prompt
94 string 98 string