From: Pengji Zhang Date: Fri, 16 Aug 2024 08:25:48 +0000 (+0800) Subject: emacs/mua: Correct autoload cookies X-Git-Tag: archive/debian/0.39_rc0-1~18 X-Git-Url: http://git.notmuchmail.org/git?a=commitdiff_plain;h=2355ff274d3694fc79c655bb45c61245fb9a9302;p=notmuch emacs/mua: Correct autoload cookies This is a follow-up to [1: 8d06dfce]. Per Info node '(elisp)Autoload', autoload cookies should start with ';;;###'. 1: 2024-04-04 8d06dfce175593aebae9a759c9167df4988a3444 emacs: Autoload notmuch-user-agent related functions --- diff --git a/emacs/notmuch-mua.el b/emacs/notmuch-mua.el index b80e5976..a75b0f5c 100644 --- a/emacs/notmuch-mua.el +++ b/emacs/notmuch-mua.el @@ -424,7 +424,7 @@ instead of `message-mode' and SWITCH-FUNCTION is mandatory." (addr (and good-tokens (mapconcat #'identity good-tokens ", ")))) (message-replace-header header addr)))))) -;;;#autoload +;;;###autoload (defun notmuch-mua-mail (&optional to subject other-headers _continue switch-function yank-action send-actions return-action &rest _ignored) @@ -646,24 +646,24 @@ unencrypted. Really send? ")))) (message-send-and-exit arg) (message-send arg))))) -;;;#autoload +;;;###autoload (defun notmuch-mua-send-and-exit (&optional arg) (interactive "P") (notmuch-mua-send-common arg t)) -;;;#autoload +;;;###autoload (defun notmuch-mua-send (&optional arg) (interactive "P") (notmuch-mua-send-common arg)) -;;;#autoload +;;;###autoload (defun notmuch-mua-kill-buffer () (interactive) (message-kill-buffer)) ;;; _ -;;;#autoload +;;;###autoload (define-mail-user-agent 'notmuch-user-agent 'notmuch-mua-mail 'notmuch-mua-send-and-exit