From 4d2e051006fc353930575e6d37579ea8690f98b7 Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Tue, 3 Oct 2017 16:48:08 +0530 Subject: Auto load bbdb in funcs.el --- config.el | 2 ++ funcs.el | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config.el b/config.el index 1982f86..16d7085 100644 --- a/config.el +++ b/config.el @@ -85,6 +85,8 @@ (address "vasudev@debian.org")))) ;; Enable bbdb configurations +(require 'bbdb-autoloads) +(require 'bbdb) (bbdb-initialize 'message 'gnus 'sendmail) (setq bbdb-file "~/.bbdb.db") diff --git a/funcs.el b/funcs.el index c0c6570..a70d996 100644 --- a/funcs.el +++ b/funcs.el @@ -55,7 +55,8 @@ ;; Functions copied from ;; https://notmuchmail.org/pipermail/notmuch/2012/011692.html -(require 'bbdb-snarf) +(require 'bbdb-autoloads) +(require 'bbdb) (defun bbdb/notmuch-snarf-header (header) (let ((text (notmuch-show-get-header header))) (with-temp-buffer -- cgit v1.2.3