Finally do something about the famous "midnight bug"
authorSteve Youngs <steve@sxemacs.org>
Sat, 30 Jun 2012 14:51:35 +0000 (00:51 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sat, 30 Jun 2012 14:51:35 +0000 (00:51 +1000)
commit5a9589a97b099c6171488d7176350d9a8d6e670a
tree62dd495d9554adefd9d953ef566bcf6972907722
parent93a2a8136a07ea7da933092df5ca915ae50006c4
Finally do something about the famous "midnight bug"

For years my SXEmacs would crash at midnight if I were running Sawfish and
no SXEmacs frame had the focus.  And even though this changeset doesn't
actually fix the bug, it does mean it won't get triggered again.

* 12-cal-sy.el (sy-update-diary-font-lock-keywords): Removed.
Also remove the #'run-at-time call

* 12-cal-sy.el (calendar-move-hook): Have it update the displayed
diary entries as you move to different dates.

* 12-cal-sy.el (calendar-mode-hook): Update the font-lock keywords
here.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
12-cal-sy.el