]> git.eshelyaron.com Git - emacs.git/commitdiff
Make read-string-from-buffer and string-edit mention each other
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Oct 2022 11:02:20 +0000 (13:02 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 11 Oct 2022 11:02:27 +0000 (13:02 +0200)
* lisp/textmodes/string-edit.el (read-string-from-buffer)
(string-edit): Mention each other in the doc strings.

lisp/textmodes/string-edit.el

index 53850674ac0359a368841d84f95e213cd97af385..562ab60d13721dac156c9ca27ea64b8cbcf21e06 100644 (file)
@@ -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