changeset 54127:35aa728a0635

Matthew Mundell <matt@mundell.ukfsn.org> (fancy-diary-display): Don't rely on return value of increment-calendar-month.
author Glenn Morris <rgm@gnu.org>
date Mon, 23 Feb 2004 00:09:31 +0000
parents 8d0f80667054
children 520476f3222d
files lisp/calendar/diary-lib.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/diary-lib.el	Sun Feb 22 22:41:52 2004 +0000
+++ b/lisp/calendar/diary-lib.el	Mon Feb 23 00:09:31 2004 +0000
@@ -587,8 +587,10 @@
                            (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))