Created
January 4, 2012 19:02
-
-
Save plathrop/1561480 to your computer and use it in GitHub Desktop.
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
(defun pdl-agenda () | |
"Switch to my daily agenda." | |
(interactive) | |
(save-selected-window | |
(pop-to-buffer | |
(prog1 org-agenda-buffer-name | |
(unless (get-buffer org-agenda-buffer-name) | |
(org-agenda nil "a") | |
(org-agenda-day-view)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment