Function: icalendar-print-value-type

icalendar-print-value-type is a byte-compiled function defined in icalendar-parser.el.gz.

Signature

(icalendar-print-value-type TYPE)

Documentation

Print a value type TYPE.

TYPE should be an iCalendar type symbol naming a known value type defined with icalendar-define-type, or a string naming an unknown type. If it is a symbol, return the associated printed representation for the type from icalendar-value-types. Otherwise return TYPE.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-parser.el.gz
(defun ical:print-value-type (type)
  "Print a value type TYPE.
TYPE should be an iCalendar type symbol naming a known value type
defined with `icalendar-define-type', or a string naming an
unknown type.  If it is a symbol, return the associated printed
representation for the type from `icalendar-value-types'.
Otherwise return TYPE."
  (if (symbolp type)
      (car (rassq type ical:value-types))
    type))