dot/emacs: Pull in Org mode and BBDB explicitly when enabling appointments.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 24 Apr 2016 10:41:14 +0000 (11:41 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 24 Apr 2016 10:41:14 +0000 (11:41 +0100)
It should happen anyway because of the autoloads, only for some reason
they don't trigger in Emacs 23.

dot/emacs

index b8989d7..320e03c 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (setq appt-display-interval 3)
 (setq appt-message-warning-time 10)
 (and (not mdw-fast-startup)
-     (trap (appt-activate 1)))
+     (trap (require 'org)
+          (require 'bbdb)
+          (appt-activate 1)))
 
 ;; Org-mode agenda.