From: Lars Ingebrigtsen Date: Wed, 27 Apr 2022 17:03:49 +0000 (+0200) Subject: Add autoload cookies to string-edit X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~2370^2~267 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1f659cd33628ba58d007aa35fdbfb88275429399;p=emacs.git Add autoload cookies to string-edit * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Autoload. --- diff --git a/lisp/textmodes/string-edit.el b/lisp/textmodes/string-edit.el index ff8a492401c..00d6b614255 100644 --- a/lisp/textmodes/string-edit.el +++ b/lisp/textmodes/string-edit.el @@ -34,6 +34,7 @@ (defvar string-edit--success-callback) (defvar string-edit--abort-callback) +;;;###autoload (cl-defun string-edit (string success-callback &key abort-callback help-text) "Switch to a new buffer to edit STRING. @@ -72,6 +73,7 @@ buffer, but won't be included in the resulting string." (message "%s" (substitute-command-keys "Type \\\\[string-edit-done] when you've finished editing"))) +;;;###autoload (defun read-string-from-buffer (string &optional help-text) "Switch to a new buffer to edit STRING in a recursive edit. The user finishes editing with \\\\[string-edit-done], or aborts with \\\\[string-edit-abort]).