aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian/notmuch.emacsen-startup
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-10-29 15:28:18 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-10-29 15:28:18 -0700
commitbec47efeebf111b121db131b952e74106199810d (patch)
tree61d9a4b0b42c856d391e64842e44d06f1bb2161f /debian/notmuch.emacsen-startup
parentb11ecf613a3e574ff80e0e9ec5825b43b541ab12 (diff)
debian: Add emacs autoloads for all top-level notmuch functions.
With this, users will be able to simply "apt-get install emacs" and then "emacs -f notmuch" without having to edit ~/.emacs to add a ("require 'notmuch)".
Diffstat (limited to 'debian/notmuch.emacsen-startup')
-rw-r--r--debian/notmuch.emacsen-startup5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/notmuch.emacsen-startup b/debian/notmuch.emacsen-startup
index 25a527f5..60bf9968 100644
--- a/debian/notmuch.emacsen-startup
+++ b/debian/notmuch.emacsen-startup
@@ -20,4 +20,9 @@
(concat "/usr/share/"
(symbol-name debian-emacs-flavor)
"/site-lisp/notmuch"))
+ (autoload 'notmuch "notmuch" "Run notmuch and display saved searches, known tags, etc." t)
+ (autoload 'notmuch-hello "notmuch" "Run notmuch and display saved searches, known tags, etc." t)
+ (autoload 'notmuch-search "notmuch" "Run \"notmuch search\" with the given query string and display results." t)
+ (autoload 'notmuch-show "notmuch" "Run \"notmuch show\" with the given thread ID and display results." t)
+
))