changeset 43010:f3f6fc83e6d1

(generate-calendar-month): Doc fix.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 28 Jan 2002 19:22:57 +0000
parents a3b76a4ebe1c
children 81d6a24ec52c
files lisp/calendar/calendar.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Mon Jan 28 13:19:21 2002 +0000
+++ b/lisp/calendar/calendar.el	Mon Jan 28 19:22:57 2002 +0000
@@ -1828,9 +1828,10 @@
 
 (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))