Function: cal-html-cursor-month
cal-html-cursor-month is an autoloaded, interactive and byte-compiled
function defined in cal-html.el.gz.
Signature
(cal-html-cursor-month MONTH YEAR DIR &optional EVENT)
Documentation
Write an HTML calendar file for numeric MONTH of four-digit YEAR.
The output directory DIR is created if necessary. Interactively, MONTH and YEAR are taken from the calendar cursor position. Note that any existing output files are overwritten.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/cal-html.el.gz
;;; User commands.
;;;###cal-autoload
(defun cal-html-cursor-month (month year dir &optional _event)
"Write an HTML calendar file for numeric MONTH of four-digit YEAR.
The output directory DIR is created if necessary. Interactively,
MONTH and YEAR are taken from the calendar cursor position.
Note that any existing output files are overwritten."
(interactive (let* ((event last-nonmenu-event)
(date (calendar-cursor-to-date t event))
(month (calendar-extract-month date))
(year (calendar-extract-year date)))
(list month year (cal-html-year-dir-ask-user year) event)))
(make-directory dir t)
(cal-html-one-month month year dir))