`mark-diary-entries-hook' are run."
(interactive)
;; To remove any deleted diary entries.
- (when mark-diary-entries-in-calendar
+ (when (and mark-diary-entries-in-calendar
+ ;; Avoid redrawing when called recursively, eg through
+ ;; mark-diary-entries-hook for #include's, else only get
+ ;; the last set of diary marks.
+ (not marking-diary-entries))
(setq mark-diary-entries-in-calendar nil)
(redraw-calendar))
(let ((marking-diary-entries t)