Skip to content

Instantly share code, notes, and snippets.

@kiwanami
Created December 1, 2014 13:09
Show Gist options
  • Save kiwanami/9c972cf7df83ee7f76f3 to your computer and use it in GitHub Desktop.
Save kiwanami/9c972cf7df83ee7f76f3 to your computer and use it in GitHub Desktop.
(let* ((source1
(lexical-let ((file "./some-schedule.org"))
(make-cfw:source
:name (concat "Org:" "TEST")
:data (lambda (begin end)
(let ((org-agenda-files (list file)))
(cfw:org-schedule-period-to-calendar begin end))))))
(cp (cfw:create-calendar-component-buffer
:view 'month
:contents-sources (list source1)
:custom-map cfw:org-schedule-map
:sorter 'cfw:org-schedule-sorter)))
(switch-to-buffer (cfw:cp-get-buffer cp)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment