From: Carl Worth Date: Fri, 29 Oct 2010 22:28:18 +0000 (-0700) Subject: debian: Add emacs autoloads for all top-level notmuch functions. X-Git-Tag: 0.4~23 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=bec47efeebf111b121db131b952e74106199810d;p=obsolete%2Fnotmuch-old 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)". --- 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) + ))