summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-12-08 06:24:25 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-12-08 06:24:25 +0000
commitff22827e4853b1bc22431623ecacbd799af64678 (patch)
treeeb3a9e9944210b817e60d8b4e1f6cb2ce25a6fe2
parent48bf9fb78e1c634c9823bf03e5ebbc878d151343 (diff)
note that this will fail - FIXME
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el
index 6328545..7e8e929 100644
--- a/init.el
+++ b/init.el
@@ -267,7 +267,7 @@ Restart works only on graphic display."
(day-regexp (nth 1 (calendar-current-date)))
(year-regexp (nth 2 (calendar-current-date)))
(journal-files (directory-files (denote-directory) nil "_journal"))
- (day-match? (string-match-p (concat "......0" (number-to-string day-regexp)) f))
+ (day-match? (string-match-p (concat "......0" (number-to-string day-regexp)) f)) ;; TODO this is going to fail on 10th
(year-match? (string-match-p (concat "^" (number-to-string year-regexp)) f))
(month-match? (string-match-p (concat (number-to-string month-regexp) "..T") f)))
(when (and day-match? year-match? month-match?)