From 087e4f8060ebf84afd183778871042bdf4bc7fed Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 6 Jan 2013 07:23:04 -0500 Subject: [PATCH] .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. --- src/.emacs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.26.2