Function: icalendar-ast-node-set-type
icalendar-ast-node-set-type is a byte-compiled function defined in
icalendar-ast.el.gz.
Signature
(icalendar-ast-node-set-type NODE TYPE)
Documentation
Set the type of iCalendar syntax node NODE to TYPE.
This function is probably not what you want! It directly modifies the
type of NODE in-place, which could make the node invalid if its value or
children do not match the new TYPE. If you do not know in advance that
the data in NODE is compatible with the new TYPE, it is better to
construct a new syntax node.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/icalendar-ast.el.gz
(defun ical:ast-node-set-type (node type)
"Set the type of iCalendar syntax node NODE to TYPE.
This function is probably not what you want! It directly modifies the
type of NODE in-place, which could make the node invalid if its value or
children do not match the new TYPE. If you do not know in advance that
the data in NODE is compatible with the new TYPE, it is better to
construct a new syntax node."
(setcar node type))