Function: calendar-increment-month-cons

calendar-increment-month-cons is a byte-compiled function defined in calendar.el.gz.

Signature

(calendar-increment-month-cons N &optional MON YR)

Documentation

Return the Nth month after MON/YR.

The return value is a pair (MONTH . YEAR). MON defaults to displayed-month. YR defaults to displayed-year.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/calendar.el.gz
(defun calendar-increment-month-cons (n &optional mon yr)
  "Return the Nth month after MON/YR.
The return value is a pair (MONTH . YEAR).
MON defaults to `displayed-month'.  YR defaults to `displayed-year'."
  (unless mon (setq mon displayed-month))
  (unless yr (setq yr displayed-year))
  (calendar-increment-month mon yr n)
  (cons mon yr))