aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProtesilaos Stavrou <info@protesilaos.com>2021-01-24 05:42:55 +0200
committerXinglu Chen <public@yoctocell.xyz>2021-01-24 11:44:49 +0100
commit96ad95b656ccc5f0941c46b00e96af2dea312588 (patch)
tree52cdcd00ed5671e1d4fded804fd9ff124bba0940
parent26e93241eb384c80238780c6cf93fb88b37d10e5 (diff)
Add autoloads for global minor modes
* git-email-notmuch.el (git-email-gnus-mode): Add special autoload comment. * git-email-gnus.el (git-email-notmuch-mode): Add autoload. These should not be necessary, given that the edited libraries only define a minor mode.
-rw-r--r--git-email-gnus.el1
-rw-r--r--git-email-notmuch.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/git-email-gnus.el b/git-email-gnus.el
index 9fc0215..3d7e6df 100644
--- a/git-email-gnus.el
+++ b/git-email-gnus.el
@@ -31,6 +31,7 @@
(require 'git-email)
+;;;###autoload
(define-minor-mode git-email-gnus-mode
"Gnus integration for git-email.
If called interactively, toggle the mode. A positive prefix ARG
diff --git a/git-email-notmuch.el b/git-email-notmuch.el
index d0c9b93..0a8e5e7 100644
--- a/git-email-notmuch.el
+++ b/git-email-notmuch.el
@@ -31,6 +31,7 @@
(require 'git-email)
+;;;###autoload
(define-minor-mode git-email-notmuch-mode
"Notmuch integration for git-email.
If called interactively, toggle the mode. A positive prefix ARG