changeset 42924:a770abab5774

(generate-calendar-month): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Thu, 24 Jan 2002 06:06:01 +0000
parents 6131d6109084
children 78d76b7602fc
files lisp/calendar/calendar.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calendar/calendar.el	Wed Jan 23 23:33:02 2002 +0000
+++ b/lisp/calendar/calendar.el	Thu Jan 24 06:06:01 2002 +0000
@@ -1828,10 +1828,9 @@
 
 (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."
+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))