Variable: diary-icalendar-post-entry-format-hook

diary-icalendar-post-entry-format-hook is a variable defined in diary-icalendar.el.gz.

Value

nil

Documentation

Hook run after formatting a single iCalendar component as a diary entry.

The functions in this hook are run by diary-icalendar-import-buffer-to-buffer
(which see) after each component it formats. Each function will be
called in a (narrowed) buffer whose contents represent a single diary entry.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-icalendar.el.gz
;; Import to Diary
;;
;; `di:import-file' and `di:import-buffer' are the main user commands
;; for import.  (These replace `icalendar-import-file' and
;; `icalendar-import-buffer' defined by icalendar.el, which are now
;; obsolete aliases to these commands.) `di:import-buffer-to-buffer' is
;; the function underlying these commands; it is the main import
;; function available for external Lisp code.

;; `di:import-buffer-to-buffer' is the underlying function that formats
;; a complete `icalendar-vcalendar' as diary entries.  This function runs
;; `di:post-entry-format-hook' after formatting each component as an
;; entry, and it runs `di:post-calendar-format-hook' after all entries
;; have been formatted.  These hooks enable e.g. user review and
;; confirmation of each imported entry and of the whole imported
;; calendar.
(defvar di:post-entry-format-hook nil
  "Hook run after formatting a single iCalendar component as a diary entry.

The functions in this hook are run by `diary-icalendar-import-buffer-to-buffer'
\(which see) after each component it formats.  Each function will be
called in a (narrowed) buffer whose contents represent a single diary
entry.")