Fix sendmail.el byte-compile warning in loaddefs.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:25:41 +0000 (11:25 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:25:41 +0000 (11:25 +0200)
* lisp/mail/sendmail.el (mail-send-and-exit): Autoload since it's
referred to by autoloaded code in loaddefs.el.

lisp/mail/sendmail.el

index 8cb079f7fbe5fc8f6f967f47681a1b594af7a945..76ef65b34374dbdc2879d2a17461b0f125c5ef27 100644 (file)
@@ -820,6 +820,7 @@ If within the headers, this makes the new lines into continuation lines."
 \f
 ;; User-level commands for sending.
 
+;;;###autoload
 (defun mail-send-and-exit (&optional arg)
   "Send message like `mail-send', then, if no errors, exit from mail buffer.
 Prefix arg means don't delete this window."