unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Minor calendar-make-alist fix
@ 2003-08-12  3:53 Alan Shutko
  2003-08-17 23:00 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Shutko @ 2003-08-12  3:53 UTC (permalink / raw)


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

2003-08-11  Alan Shutko  <ats@acm.org>

	* 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 <ats@acm.org> - I am the rocks.
It's a dog eat dog world and I'm wearing ALPO underwear!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Minor calendar-make-alist fix
  2003-08-12  3:53 Minor calendar-make-alist fix Alan Shutko
@ 2003-08-17 23:00 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2003-08-17 23:00 UTC (permalink / raw)
  Cc: emacs-devel

Alan Shutko wrote:

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

Done. Sorry for the goof.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-17 23:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-12  3:53 Minor calendar-make-alist fix Alan Shutko
2003-08-17 23:00 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).