changeset 69373:380ad63f635b

(list-holidays): Doc fix.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 11 Mar 2006 12:16:32 +0000
parents 1827706c5dd5
children c65249b41906
files lisp/calendar/holidays.el
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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