Variable: diary-mark-entries-hook

diary-mark-entries-hook is a customizable variable defined in diary-lib.el.gz.

Value

nil

Documentation

List of functions called after marking diary entries in the calendar.

You might wish to add diary-mark-included-diary-files, in which case you will probably also want to add diary-include-other-diary-files to diary-list-entries-hook.

This hook runs after diary-nongregorian-marking-hook. These two hooks differ only if you are using included diary files. In that case, diary-nongregorian-marking-hook runs for each file, whereas diary-mark-entries-hook only runs once, for the main diary file.

displayed-year and displayed-month are dynamically bound when this hook is called.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/diary-lib.el.gz
(defcustom diary-mark-entries-hook nil
  "List of functions called after marking diary entries in the calendar.
You might wish to add `diary-mark-included-diary-files', in which case
you will probably also want to add `diary-include-other-diary-files' to
`diary-list-entries-hook'.

This hook runs after `diary-nongregorian-marking-hook'.  These two hooks
differ only if you are using included diary files.  In that case,
`diary-nongregorian-marking-hook' runs for each file, whereas
`diary-mark-entries-hook' only runs once, for the main diary file.

`displayed-year' and `displayed-month' are dynamically bound when
this hook is called."
  :type 'hook
  :options '(diary-mark-included-diary-files)
  :group 'diary)