From 1f659cd33628ba58d007aa35fdbfb88275429399 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 27 Apr 2022 19:03:49 +0200 Subject: [PATCH] Add autoload cookies to string-edit * lisp/textmodes/string-edit.el (string-edit) (read-string-from-buffer): Autoload. --- lisp/textmodes/string-edit.el | 2 ++ 1 file changed, 2 insertions(+) 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]). -- 2.39.2