Commit de3fce91 authored by Glenn Morris's avatar Glenn Morris

Matthew Mundell <matt@mundell.ukfsn.org>

(fancy-diary-display): Don't rely on return value of
increment-calendar-month.
parent 7420e0f5
......@@ -587,8 +587,10 @@ This function is provided for optional use as the `diary-display-hook'."
(extract-calendar-month date))
(setq holiday-list-last-year
(extract-calendar-year date))
(increment-calendar-month
holiday-list-last-month holiday-list-last-year 1)
(progn
(increment-calendar-month
holiday-list-last-month holiday-list-last-year 1)
t)
(setq holiday-list
(let ((displayed-month holiday-list-last-month)
(displayed-year holiday-list-last-year))
......
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