Function: holidays
holidays is an autoloaded, interactive and byte-compiled function
defined in holidays.el.gz.
Signature
(holidays &optional ARG)
Documentation
Display the holidays for last month, this month, and next month.
If called with an optional prefix argument ARG, prompts for month and year. This function is suitable for execution in an init file.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/holidays.el.gz
;;;###autoload
(defun holidays (&optional arg)
"Display the holidays for last month, this month, and next month.
If called with an optional prefix argument ARG, prompts for month and year.
This function is suitable for execution in an init file."
(interactive "P")
(save-excursion
(let* ((completion-ignore-case t)
(date (if arg (calendar-read-date t)
(calendar-current-date)))
(displayed-month (calendar-extract-month date))
(displayed-year (calendar-extract-year date)))
(calendar-list-holidays))))