Function: holiday-list

holiday-list is a function alias and interactive for list-holidays, defined in holidays.el.gz.

Signature

(holiday-list Y1 &optional Y2 L LABEL)

Documentation

Display holidays for years Y1 to Y2 (inclusive).

Y2 defaults to Y1. The optional list of holidays L defaults to calendar-holidays. If you want to control what holidays are displayed, use a different list. For example,

  (list-holidays 2006 2006
    (append holiday-general-holidays holiday-local-holidays))

will display holidays for the year 2006 defined in the two mentioned lists, and nothing else.

When called interactively, this command offers a choice of holidays, based on the variables holiday-solar-holidays etc. See the documentation of calendar-holidays for a list of the variables that control the choices, as well as a description of the format of a holiday list.

The optional LABEL is used to label the buffer created.

The list of holiday lists is computed by the holiday-available-holiday-lists and you can alter the results by redefining that function, or use add-function to add values.

View in manual

Key Bindings

Aliases

holiday-list