diff options
| author | Lars Ingebrigtsen | 2022-10-11 13:02:20 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-10-11 13:02:27 +0200 |
| commit | 5724ee61313c52a17f94ebad52f2e8e7a44fe7cd (patch) | |
| tree | a4ecaf011efe44db69880403c2b6f509cfa69306 | |
| parent | 4f114c0d95caa0e26de3d188cebe9e3cbcb2dee8 (diff) | |
| download | emacs-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.el | 8 |
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 | ||
| 47 | PROMPT will be inserted at the start of the buffer, but won't be | 47 | PROMPT will be inserted at the start of the buffer, but won't be |
| 48 | included in the resulting string. If PROMPT is nil, no help text | 48 | included in the resulting string. If PROMPT is nil, no help text |
| 49 | will be inserted." | 49 | will be inserted. |
| 50 | |||
| 51 | Also 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 | ||
| 89 | PROMPT will be inserted at the start of the buffer, but won't be | 91 | PROMPT will be inserted at the start of the buffer, but won't be |
| 90 | included in the resulting string. If nil, no prompt will be | 92 | included in the resulting string. If nil, no prompt will be |
| 91 | inserted in the buffer." | 93 | inserted in the buffer. |
| 94 | |||
| 95 | Also see `string-edit'." | ||
| 92 | (string-edit | 96 | (string-edit |
| 93 | prompt | 97 | prompt |
| 94 | string | 98 | string |