emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Minor calendar-make-alist fix


From: Alan Shutko
Subject: Minor calendar-make-alist fix
Date: Mon, 11 Aug 2003 22:53:07 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

calendar-make-alist was leaving December off the alist.  Here's a
fix.  Could someone commit it?

2003-08-11  Alan Shutko  <address@hidden>

        * calendar/calendar.el (calendar-make-alist): Correct off-by-one
        keeping December out of the alist.

*** calendar.el.~1.149.~        2003-08-06 13:03:25.000000000 -0500
--- calendar.el 2003-08-11 22:50:10.000000000 -0500
***************
*** 2622,2628 ****
          (aseqp (if abbrevs (calendar-abbrev-construct abbrevs sequence
                                                        'period)))
          alist elem)
!     (dotimes (i (1- (length sequence)) (reverse alist))
        (setq index (+ i offset)
              elem (elt sequence i)
              alist
--- 2622,2628 ----
          (aseqp (if abbrevs (calendar-abbrev-construct abbrevs sequence
                                                        'period)))
          alist elem)
!     (dotimes (i (length sequence) (reverse alist))
        (setq index (+ i offset)
              elem (elt sequence i)
              alist

-- 
Alan Shutko <address@hidden> - I am the rocks.
It's a dog eat dog world and I'm wearing ALPO underwear!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]