diary-mark-entries
diary-mark-entries is an interactive autoloaded compiled Lisp function in `diary-lib.el
'.
(diary-mark-entries &optional REDRAW)
Mark days in the calendar window that have diary entries.
Marks each entry in the diary that is visible in the calendar window.
After marking the entries, runs `diary-nongregorian-marking-hook'
for the main diary file, and each included file. For example,
this is the appropriate hook to process Islamic entries in all
diary files. Next `diary-mark-entries-hook' runs, for the main diary
file only. If not using include files, there is no difference between
these two hooks.
If the optional argument REDRAW is non-nil (which is the case
interactively, for example) then this first removes any existing diary
marks. This is intended to deal with deleted diary entries.