Created
August 30, 2023 00:58
-
-
Save colonelpanic8/199218b60117105ef7b374a762df4be4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (cl-defun imalison:org-at-time (&optional time &key (fn 'org-wild-notifier-check)) | |
| (interactive) | |
| (setq time (or time (time-convert (encode-time (parse-time-string (org-read-date))) 'list))) | |
| (flet | |
| ((current-time (&rest args) time)) | |
| (funcall fn))) | |
| (imalison:org-at-time | |
| nil | |
| :fn (lambda () | |
| (-each | |
| (->> (funcall (org-wild-notifier--retrieve-events)) | |
| (-map 'org-wild-notifier--check-event) | |
| (-flatten) | |
| (-uniq)) | |
| 'org-wild-notifier--notify))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment