From: Glenn Morris Date: Tue, 4 Oct 2011 17:26:55 +0000 (-0400) Subject: * lisp/calendar/holidays.el (calendar-check-holidays): Doc fix. X-Git-Tag: emacs-pretest-24.0.91~210 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bdfa5dd206b05feed0b9312470bda434e8c21974;p=emacs.git * lisp/calendar/holidays.el (calendar-check-holidays): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8760d84f367..3f7ae8232a7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2011-10-04 Glenn Morris + + * calendar/holidays.el (calendar-check-holidays): Doc fix. + 2011-10-04 Martin Rudalics * window.el (window--delete): New function. 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)