mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 01:34:36 -08:00
(generate-calendar-month): Doc fix.
This commit is contained in:
parent
7c961dc231
commit
f2172a682b
2 changed files with 8 additions and 3 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2002-01-28 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* calendar/calendar.el (generate-calendar-month): Doc fix.
|
||||
|
||||
2002-01-27 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
|
||||
|
||||
* time.el (display-time-mail-directory): New option.
|
||||
|
|
|
|||
|
|
@ -1828,9 +1828,10 @@ Or, for optional MON, YR."
|
|||
|
||||
(defun generate-calendar-month (month year indent)
|
||||
"Produce a calendar for MONTH, YEAR on the Gregorian calendar.
|
||||
The calendar is inserted at the beginning of the buffer,
|
||||
and is indented INDENT spaces. The indentation is done
|
||||
by skipping the first INDENT characters on the line, if there are that many."
|
||||
The calendar is inserted at the top of the buffer in which point is currently
|
||||
located, but indented INDENT spaces. The indentation is done from the first
|
||||
character on the line and does not disturb the first INDENT characters on the
|
||||
line."
|
||||
(let* ((blank-days;; at start of month
|
||||
(mod
|
||||
(- (calendar-day-of-week (list month 1 year))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue