summaryrefslogtreecommitdiff
path: root/lisp/calendar
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-01-28 19:22:57 +0000
committerEli Zaretskii <eliz@gnu.org>2002-01-28 19:22:57 +0000
commitc460aa457f317f8b4ba096f2731763dea015b3f3 (patch)
tree5075186fd5476fb18acf9ddd329f21ccd1006448 /lisp/calendar
parent9e06072cecfb357efedca5c7e01924d0ff434dc9 (diff)
downloademacs-c460aa457f317f8b4ba096f2731763dea015b3f3.tar.gz
(generate-calendar-month): Doc fix.
Diffstat (limited to 'lisp/calendar')
-rw-r--r--lisp/calendar/calendar.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el
index af8b1aeed2b..7caa258d6e7 100644
--- a/lisp/calendar/calendar.el
+++ b/lisp/calendar/calendar.el
@@ -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))