summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasudev Kamath <vasudev@copyninja.info>2017-10-03 16:48:08 +0530
committerVasudev Kamath <vasudev@copyninja.info>2017-10-03 16:48:35 +0530
commit4d2e051006fc353930575e6d37579ea8690f98b7 (patch)
treefde90379d5063b1133c6e804b8a8db94af78d6c0
parent31e0e56d2fc8afac16374e8e2a333cf45b3958e2 (diff)
Auto load bbdb in funcs.el
-rw-r--r--config.el2
-rw-r--r--funcs.el3
2 files changed, 4 insertions, 1 deletions
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