Variable: icalendar-format-definition

icalendar-format-definition is a variable defined in icalendar-mode.el.gz.

Value

(text/calendar "iCalendar format" nil icalendar-unfold-region
	       icalendar-folding-annotations nil nil t)

Documentation

Entry for iCalendar format in format-alist.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/icalendar-mode.el.gz
;;; Format conversion

;; We use the format conversion infrastructure provided by format.el,
;; `insert-file-contents', and `write-region' to automatically perform
;; line unfolding when icalendar-mode starts in a buffer, and line
;; folding when it is saved to a file.  See Info node `(elisp)Format
;; Conversion' for more.

(defconst ical:format-definition
  '(text/calendar "iCalendar format"
                  nil ; no regexp - icalendar-mode runs decode instead
                  ical:unfold-region       ; decoding function
                  ical:folding-annotations ; encoding function
                  nil ; encoding function does not modify buffer
                  nil ; no need to activate a minor mode
                  t)  ; preserve the format when saving
  "Entry for iCalendar format in `format-alist'.")