Function: cal-html-insert-link-monthpage

cal-html-insert-link-monthpage is a byte-compiled function defined in cal-html.el.gz.

Signature

(cal-html-insert-link-monthpage MONTH YEAR &optional CHANGE-DIR)

Documentation

Insert a link to the html page for numeric MONTH and four-digit YEAR.

If optional argument CHANGE-DIR is non-nil and MONTH is 1 or 2, the link points to a different year and so has a directory part.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-html.el.gz
(defun cal-html-insert-link-monthpage (month year &optional change-dir)
  "Insert a link to the html page for numeric MONTH and four-digit YEAR.
If optional argument CHANGE-DIR is non-nil and MONTH is 1 or 2,
the link points to a different year and so has a directory part."
  (insert (cal-html-h3
           (cal-html-href
            (concat (and change-dir
                         (member month '(1 12))
                         (format "../%d/" year))
                    (cal-html-monthpage-name month year))
            (calendar-month-name month)))))