mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-05 08:53:45 +00:00
(mark-diary-entries): No need to redraw calendar if that is why we
were called.
This commit is contained in:
parent
33873baddc
commit
4b1523ac4a
@ -846,7 +846,10 @@ After the entries are marked, the hooks `nongregorian-diary-marking-hook' and
|
||||
;; 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))
|
||||
(not marking-diary-entries)
|
||||
;; If called from redraw-calendar, the calendar has been
|
||||
;; erased, so no need to unmark the diary entries.
|
||||
(not calendar-redrawing))
|
||||
(setq mark-diary-entries-in-calendar nil)
|
||||
(redraw-calendar))
|
||||
(let ((marking-diary-entries t)
|
||||
|
Loading…
Reference in New Issue
Block a user