diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-12-08 06:24:25 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-12-08 06:24:25 +0000 |
commit | ff22827e4853b1bc22431623ecacbd799af64678 (patch) | |
tree | eb3a9e9944210b817e60d8b4e1f6cb2ce25a6fe2 | |
parent | 48bf9fb78e1c634c9823bf03e5ebbc878d151343 (diff) |
note that this will fail - FIXME
-rw-r--r-- | init.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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?) |