summaryrefslogtreecommitdiff
path: root/lisp/calendar/holidays.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-03-11 12:16:32 +0000
committerEli Zaretskii <eliz@gnu.org>2006-03-11 12:16:32 +0000
commit29c8385073b8c0448b4429a01c198f05807f1c57 (patch)
treeaa7858322b531e27027643a814b91c24c6c19d16 /lisp/calendar/holidays.el
parent7325e71441117761c91bd75c18d2cda79c330bc8 (diff)
downloademacs-29c8385073b8c0448b4429a01c198f05807f1c57.tar.gz
(list-holidays): Doc fix.
Diffstat (limited to 'lisp/calendar/holidays.el')
-rw-r--r--lisp/calendar/holidays.el9
1 files changed, 9 insertions, 0 deletions
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