chiark / gitweb /
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 b8989d7765f442b60a615104663b0051c8c11731..320e03cfc478b30a2b8d9d2b3d35fbadfef02fcb 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.