From 29c8385073b8c0448b4429a01c198f05807f1c57 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 11 Mar 2006 12:16:32 +0000 Subject: [PATCH] (list-holidays): Doc fix. --- lisp/calendar/holidays.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el index 1aaf226d21d..5a29bf8fff1 100644 --- a/lisp/calendar/holidays.el +++ b/lisp/calendar/holidays.el @@ -120,6 +120,15 @@ This function is suitable for execution in a .emacs file." "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 -- 2.39.2