Function: icalendar-read-value-type
icalendar-read-value-type is a byte-compiled function defined in
icalendar-parser.el.gz.
Signature
(icalendar-read-value-type S)
Documentation
Read a value type from string S.
S should contain the printed representation of a value type in a "VALUE=..."
property parameter. If S represents a known type in icalendar-value-types,
it is read as the associated type symbol. Otherwise S is returned unchanged.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:read-value-type (s)
"Read a value type from string S.
S should contain the printed representation of a value type in a \"VALUE=...\"
property parameter. If S represents a known type in `icalendar-value-types',
it is read as the associated type symbol. Otherwise S is returned unchanged."
(let ((type-assoc (assoc s ical:value-types)))
(if type-assoc
(cdr type-assoc)
s)))