Created
July 7, 2011 00:46
-
-
Save kiwanami/1068688 to your computer and use it in GitHub Desktop.
org and ical in calfw
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
(require 'calfw-org) | |
(require 'calfw-ical) | |
(defun my-open-calendar () | |
(interactive) | |
(cfw:open-calendar-buffer | |
:view 'month | |
:contents-sources | |
(list | |
(cfw:org-create-source "Seagreen4") ; color | |
(cfw:ical-create-source "ical1" "https://www.google.com/calendar/ical/../basic.ics" "#2952a3") | |
(cfw:ical-create-source "ical2" "https://www.google.com/calendar/ical/../basic.ics" "Red")))) | |
;; title, URL, color | |
;; M-x my-open-calendar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment