branch: externals/denote-journal commit 1919bfe7abe37b2585886bafb6e9ae7ad7a0dee5 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Make denote-journal-calendar-mark-dates not check for visible date once again (revert part of 6bdf829) This was the original intent, but it was failing because the regexp in denote-journal-calendar--get-files was not correct. --- denote-journal.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/denote-journal.el b/denote-journal.el index 0a62a9bc6c..494ec875ce 100644 --- a/denote-journal.el +++ b/denote-journal.el @@ -345,8 +345,7 @@ file's title. This has the same meaning as in `denote-link'." (files (denote-journal-calendar--get-files date)) (dates (delq nil (mapcar #'denote-journal-calendar--file-to-date files)))) (dolist (date dates) - (when (calendar-date-is-visible-p date) - (calendar-mark-visible-date date 'denote-journal-calendar))))) + (calendar-mark-visible-date date 'denote-journal-calendar)))) (defun denote-journal-calendar--date-to-time (calendar-date) "Return internal time of `calendar' CALENDAR-DATE.