summaryrefslogtreecommitdiff
path: root/lisp/calendar/holidays.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-10-04 13:26:55 -0400
committerGlenn Morris <rgm@gnu.org>2011-10-04 13:26:55 -0400
commitbdfa5dd206b05feed0b9312470bda434e8c21974 (patch)
tree4cf3d2563496000d92e74f3ec605df5e1dd7044f /lisp/calendar/holidays.el
parent0e2070b5b6a48b3232cf664bc8c587a2440a7d6c (diff)
downloademacs-bdfa5dd206b05feed0b9312470bda434e8c21974.tar.gz
* lisp/calendar/holidays.el (calendar-check-holidays): Doc fix.
Diffstat (limited to 'lisp/calendar/holidays.el')
-rw-r--r--lisp/calendar/holidays.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/calendar/holidays.el b/lisp/calendar/holidays.el
index 695f9b92712..3ba1078f62d 100644
--- a/lisp/calendar/holidays.el
+++ b/lisp/calendar/holidays.el
@@ -632,8 +632,9 @@ The optional LABEL is used to label the buffer created."
;;;###diary-autoload
(defun calendar-check-holidays (date)
"Check the list of holidays for any that occur on DATE.
-The value returned is a list of strings of relevant holiday descriptions.
-The holidays are those in the list `calendar-holidays'."
+DATE is a list (month day year). This function considers the
+holidays from the list `calendar-holidays', and returns a list of
+strings describing those holidays that apply on DATE."
(let ((displayed-month (calendar-extract-month date))
(displayed-year (calendar-extract-year date))
holiday-list)