Function: icalendar--get-event-properties

icalendar--get-event-properties is a byte-compiled function defined in icalendar.el.gz.

Signature

(icalendar--get-event-properties EVENT PROP)

Documentation

For the given EVENT return a list of all values of the property PROP.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar.el.gz
(defun icalendar--get-event-properties (event prop)
  "For the given EVENT return a list of all values of the property PROP."
  (let ((props (car (cddr event))) pp result)
    (while props
      (setq pp (car props))
      (if (eq (car pp) prop)
          (setq result (append (split-string (car (cddr pp)) ",") result)))
      (setq props (cdr props)))
    result))