diff options
| -rw-r--r-- | lisp/bbdb-mu4e.el | 3 | ||||
| -rw-r--r-- | lisp/bbdb-notmuch.el | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/bbdb-mu4e.el b/lisp/bbdb-mu4e.el index 3788d1b..b70367c 100644 --- a/lisp/bbdb-mu4e.el +++ b/lisp/bbdb-mu4e.el @@ -24,7 +24,8 @@ ;;; Code: (require 'bbdb) -(if t (require 'mu4e-view)) +(when t ;Don't require during compilation, since mu4e might not be installed! + (require 'mu4e-view)) (defvar mu4e-view-mode-map) diff --git a/lisp/bbdb-notmuch.el b/lisp/bbdb-notmuch.el index 504f546..acc627d 100644 --- a/lisp/bbdb-notmuch.el +++ b/lisp/bbdb-notmuch.el @@ -24,8 +24,9 @@ ;;; Code: (require 'bbdb) -(require 'notmuch-show) -(require 'notmuch-tree) +(when t ;Don't require during compilation, since elpa-notmuch might not be installed! + (require 'notmuch-show) + (require 'notmuch-tree)) (defvar notmuch-show-mode-map) (defvar notmuch-tree-mode-map) |
