From: W. Trevor King Date: Sun, 6 Jan 2013 12:23:04 +0000 (-0500) Subject: .emacs: Autoload notmuch (instead of loading it every time) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=087e4f8060ebf84afd183778871042bdf4bc7fed;p=dotfiles-public.git .emacs: Autoload notmuch (instead of loading it every time) This way machines without notmuch installed won't complain when they can't find the notmuch module. Unless the user on such a machine explicitly runs `notmuch`, in which case they deserve to hear Emacs complain. --- diff --git a/src/.emacs b/src/.emacs index 69b1c34..b686e62 100644 --- a/src/.emacs +++ b/src/.emacs @@ -14,7 +14,6 @@ (load "wtk_utf-8.el") (load "wtk_layout.el") (load "wtk_linux.el") -(load "wtk_notmuch.el") (load "wtk_aspell.el") (load "wtk_epa.el") (load "wtk_org.el") @@ -23,6 +22,8 @@ (require 'cython-mode) +(autoload 'notmuch "wtk_notmuch" "notmuch mail" t) + ; Play GNU Go in an emacs buffer ;(require 'gnugo)