Commit c2828614 authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/calendar/appt.el (appt-activate): Check diary file.

parent 0c43b6f8
2010-09-29 Glenn Morris <rgm@gnu.org>
* calendar/appt.el (appt-activate): Check diary file.
2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org> 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
   
* pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
......
...@@ -702,6 +702,7 @@ ARG is positive, otherwise off." ...@@ -702,6 +702,7 @@ ARG is positive, otherwise off."
(cancel-timer appt-timer) (cancel-timer appt-timer)
(setq appt-timer nil)) (setq appt-timer nil))
(when appt-active (when appt-active
(diary-check-diary-file)
(add-hook 'write-file-functions 'appt-update-list) (add-hook 'write-file-functions 'appt-update-list)
(setq appt-timer (run-at-time t 60 'appt-check) (setq appt-timer (run-at-time t 60 'appt-check)
global-mode-string global-mode-string
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment