Mercurial > emacs
comparison lisp/calendar/calendar.el @ 42924:a770abab5774
(generate-calendar-month): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 24 Jan 2002 06:06:01 +0000 |
parents | 21f181affb5f |
children | f3f6fc83e6d1 |
comparison
equal
deleted
inserted
replaced
42923:6131d6109084 | 42924:a770abab5774 |
---|---|
1826 (generate-calendar-month month year (+ 5 (* 25 i))) | 1826 (generate-calendar-month month year (+ 5 (* 25 i))) |
1827 (increment-calendar-month month year 1))) | 1827 (increment-calendar-month month year 1))) |
1828 | 1828 |
1829 (defun generate-calendar-month (month year indent) | 1829 (defun generate-calendar-month (month year indent) |
1830 "Produce a calendar for MONTH, YEAR on the Gregorian calendar. | 1830 "Produce a calendar for MONTH, YEAR on the Gregorian calendar. |
1831 The calendar is inserted in the buffer starting at the line on which point | 1831 The calendar is inserted at the beginning of the buffer, |
1832 is currently located, but indented INDENT spaces. The indentation is done | 1832 and is indented INDENT spaces. The indentation is done |
1833 from the first character on the line and does not disturb the first INDENT | 1833 by skipping the first INDENT characters on the line, if there are that many." |
1834 characters on the line." | |
1835 (let* ((blank-days;; at start of month | 1834 (let* ((blank-days;; at start of month |
1836 (mod | 1835 (mod |
1837 (- (calendar-day-of-week (list month 1 year)) | 1836 (- (calendar-day-of-week (list month 1 year)) |
1838 calendar-week-start-day) | 1837 calendar-week-start-day) |
1839 7)) | 1838 7)) |