Function: cal-html-htmlify-list

cal-html-htmlify-list is a byte-compiled function defined in cal-html.el.gz.

Signature

(cal-html-htmlify-list DATE-LIST DATE &optional HOLIDAYS)

Documentation

Return a string of concatenated, HTML-ified diary entries.

DATE-LIST is a list of diary entries. Return only those matching DATE. Optional argument HOLIDAYS non-nil means the input is actually a list of holidays, rather than diary entries.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/cal-html.el.gz
(defun cal-html-htmlify-list (date-list date &optional holidays)
  "Return a string of concatenated, HTML-ified diary entries.
DATE-LIST is a list of diary entries.  Return only those matching DATE.
Optional argument HOLIDAYS non-nil means the input is actually a list
of holidays, rather than diary entries."
  (mapconcat (lambda (x) (cal-html-htmlify-entry x (if holidays "HOLIDAY")))
             (let (result)
               (dolist (p date-list (reverse result))
                 (and (car p)
                      (calendar-date-equal date (car p))
                      (setq result (cons p result)))))
               "<BR>\n     "))