# HG changeset patch # User Glenn Morris # Date 1162072414 0 # Node ID 099deb7b2cbd8c8ff8444846042bcb81e18532be # Parent 2881aec6b925a35d664a43cab36ad327044b1f43 (cal-html-cursor-month, cal-html-cursor-year): Add autoloads for this new package. (calendar-mode-map): Bind cal-html-cursor-month, cal-html-cursor-year. diff -r 2881aec6b925 -r 099deb7b2cbd lisp/calendar/calendar.el --- a/lisp/calendar/calendar.el Sat Oct 28 21:49:04 2006 +0000 +++ b/lisp/calendar/calendar.el Sat Oct 28 21:53:34 2006 +0000 @@ -2012,6 +2012,18 @@ "Make a buffer with LaTeX commands for a year's calendar (Filofax). Optional prefix argument specifies number of years." t) +(autoload 'cal-html-cursor-month "cal-html" + "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." t) + +(autoload 'cal-html-cursor-year "cal-html" + "Write HTML calendar files (index and monthly pages) for four-digit YEAR. +The output directory DIR is created if necessary. Interactively, +YEAR is taken from the calendar cursor position. Note that any +existing output files are overwritten." t) + (autoload 'mark-calendar-holidays "holidays" "Mark notable days in the calendar window." t) @@ -2288,6 +2300,8 @@ (define-key map "iBm" 'insert-monthly-bahai-diary-entry) (define-key map "iBy" 'insert-yearly-bahai-diary-entry) (define-key map "?" 'calendar-goto-info-node) + (define-key map "Hm" 'cal-html-cursor-month) + (define-key map "Hy" 'cal-html-cursor-year) (define-key map "tm" 'cal-tex-cursor-month) (define-key map "tM" 'cal-tex-cursor-month-landscape) (define-key map "td" 'cal-tex-cursor-day)