]> git.notmuchmail.org Git - notmuch/commit
emacs: instruct user to autoload notmuch instead of require'ing it
authorTomi Ollila <tomi.ollila@iki.fi>
Sat, 29 Mar 2014 08:07:58 +0000 (10:07 +0200)
committerDavid Bremner <david@tethera.net>
Sun, 30 Mar 2014 14:02:08 +0000 (11:02 -0300)
commit7341b78abaa2db79271ea0e8a82120661448e251
treeb5ceeac24040fdbf63e5ec34bfec72c8ca263616
parentb3e7e7925efe573b7209cfd055dd881bdd2533ce
emacs: instruct user to autoload notmuch instead of require'ing it

When (require 'notmuch) is added to ~/.emacs notmuch is loaded to every
instance of emacs although it may not be used in majority of
those instances.

When (autoload 'notmuch "notmuch" ...) is added to ~/.emacs notmuch
is loaded (only) when user invokes the notmuch function.

User may want to add other entrypoints to notmuch by adding more
autoloads -- the autoload instruction given should offer them clue how
to do so.
README
emacs/notmuch.el