[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/calendar/calendar.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/calendar/calendar.el |
Date: |
Thu, 24 Jan 2002 01:06:01 -0500 |
Index: emacs/lisp/calendar/calendar.el
diff -c emacs/lisp/calendar/calendar.el:1.135
emacs/lisp/calendar/calendar.el:1.136
*** emacs/lisp/calendar/calendar.el:1.135 Mon Jan 14 22:31:27 2002
--- emacs/lisp/calendar/calendar.el Thu Jan 24 01:06:01 2002
***************
*** 1828,1837 ****
(defun generate-calendar-month (month year indent)
"Produce a calendar for MONTH, YEAR on the Gregorian calendar.
! The calendar is inserted in the buffer starting at the line on 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))
--- 1828,1836 ----
(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."
(let* ((blank-days;; at start of month
(mod
(- (calendar-day-of-week (list month 1 year))