# HG changeset patch # User Eli Zaretskii # Date 1142079392 0 # Node ID 380ad63f635b2518f865f1d2c7cb8c31b660af45 # Parent 1827706c5dd55fe14c8fc8d77fd03105e9a20ddd (list-holidays): Doc fix. diff -r 1827706c5dd5 -r 380ad63f635b lisp/calendar/holidays.el --- a/lisp/calendar/holidays.el Sat Mar 11 12:05:09 2006 +0000 +++ b/lisp/calendar/holidays.el Sat Mar 11 12:16:32 2006 +0000 @@ -120,6 +120,15 @@ "Display holidays for years Y1 to Y2 (inclusive). 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 general-holidays local-holidays other-holidays)) + +will display holidays for the year 2006 defined in the 3 +mentioned lists, and nothing else. + When called interactively, this command offers a choice of holidays, based on the variables `solar-holidays' etc. See the documentation of `calendar-holidays' for a list of the variables