summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-09-28 20:54:03 -0700
committerGlenn Morris <rgm@gnu.org>2010-09-28 20:54:03 -0700
commitc2828614add492327092a24cc5ec15ff84b4b8ee (patch)
treef3d41b3d6b20b79aaba1da4bc04f329c84e0d59f
parent0c43b6f8d5d1458b51dc144efca682c811ebfc44 (diff)
downloademacs-c2828614add492327092a24cc5ec15ff84b4b8ee.tar.gz
* lisp/calendar/appt.el (appt-activate): Check diary file.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/calendar/appt.el1
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e3703ebaba1..b645e41f5d5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-29 Glenn Morris <rgm@gnu.org>
+
+ * calendar/appt.el (appt-activate): Check diary file.
+
2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
* pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index d0ad6464510..4926e79c2b5 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -702,6 +702,7 @@ ARG is positive, otherwise off."
(cancel-timer appt-timer)
(setq appt-timer nil))
(when appt-active
+ (diary-check-diary-file)
(add-hook 'write-file-functions 'appt-update-list)
(setq appt-timer (run-at-time t 60 'appt-check)
global-mode-string