emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/calendar/calendar.el


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/calendar/calendar.el
Date: Mon, 28 Jan 2002 14:22:58 -0500

Index: emacs/lisp/calendar/calendar.el
diff -c emacs/lisp/calendar/calendar.el:1.136 
emacs/lisp/calendar/calendar.el:1.137
*** emacs/lisp/calendar/calendar.el:1.136       Thu Jan 24 01:06:01 2002
--- emacs/lisp/calendar/calendar.el     Mon Jan 28 14:22:57 2002
***************
*** 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))
--- 1828,1837 ----
  
  (defun generate-calendar-month (month year indent)
    "Produce a calendar for MONTH, YEAR on the Gregorian calendar.
! 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]