]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
debian: Add emacs autoloads for all top-level notmuch functions.
authorCarl Worth <cworth@cworth.org>
Fri, 29 Oct 2010 22:28:18 +0000 (15:28 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 29 Oct 2010 22:28:18 +0000 (15:28 -0700)
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)".

debian/notmuch.emacsen-startup

index 25a527f5fc8d99244329a1530feafee881861569..60bf996820126f3377d68fbeeaf88cfbef32b79e 100644 (file)
@@ -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)
+
   ))