Created
July 6, 2011 18:14
-
-
Save kriyative/1067922 to your computer and use it in GitHub Desktop.
Displaying a daily Org-mode agenda reminder in Emacs 1
This file contains 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
(defvar daily-agenda-timer (parse-relative-time "9:00 am")) | |
;; (decode-time daily-agenda-timer) | |
(defun show-daily-agenda () | |
(unless (time-less-p (current-time) daily-agenda-timer) | |
(setq daily-agenda-timer (time-add daily-agenda-timer | |
(seconds-to-time 86400))) | |
(org-agenda-list))) | |
(add-hook 'display-time-hook 'show-daily-agenda) | |
(display-time) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment