unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Shutko <ats@acm.org>
Subject: Minor calendar-make-alist fix
Date: Mon, 11 Aug 2003 22:53:07 -0500	[thread overview]
Message-ID: <87adafh6qk.fsf@wesley.springies.com> (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!

             reply	other threads:[~2003-08-12  3:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12  3:53 Alan Shutko [this message]
2003-08-17 23:00 ` Minor calendar-make-alist fix Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87adafh6qk.fsf@wesley.springies.com \
    --to=ats@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).