Variable: diary-icalendar-import-predicate
diary-icalendar-import-predicate is a customizable variable defined in
diary-icalendar.el.gz.
Value
identity
Documentation
Predicate to filter iCalendar components before importing.
This function must accept one argument, which will be an
icalendar-vevent, icalendar-vtodo, or icalendar-vjournal
component. It should return non-nil if this component should be
formatted for import, or nil if it should be skipped.
The default value will format all the events, todos, and journal entries in a given calendar.
This variable was added, or its default value changed, in Emacs 31.1.
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
(defcustom di:import-predicate #'identity
"Predicate to filter iCalendar components before importing.
This function must accept one argument, which will be an
`icalendar-vevent', `icalendar-vtodo', or `icalendar-vjournal'
component. It should return non-nil if this component should be
formatted for import, or nil if it should be skipped.
The default value will format all the events, todos, and journal entries
in a given calendar."
:version "31.1"
:type '(radio (function-item identity)
(function :tag "Other predicate")))