Add cfw:org-create-file-source to list of commands

Also show how to use it in README.
This commit is contained in:
Max Schlueter 2020-07-29 11:55:44 +02:00
parent 96ab60d40a
commit 8f994551d4
No known key found for this signature in database
GPG key ID: AC34EBD08FB3857A
2 changed files with 3 additions and 1 deletions

View file

@ -34,7 +34,8 @@ calendar data from:
(cfw:open-calendar-buffer (cfw:open-calendar-buffer
:contents-sources :contents-sources
(list (list
(cfw:org-create-source "Green") ; orgmode source (cfw:org-create-source "Green") ; org-agenda source
(cfw:org-create-file-source "cal" "/path/to/cal.org" "Cyan") ; other org source
(cfw:howm-create-source "Blue") ; howm source (cfw:howm-create-source "Blue") ; howm source
(cfw:cal-create-source "Orange") ; diary source (cfw:cal-create-source "Orange") ; diary source
(cfw:ical-create-source "Moon" "~/moon.ics" "Gray") ; ICS source1 (cfw:ical-create-source "Moon" "~/moon.ics" "Gray") ; ICS source1

View file

@ -33,6 +33,7 @@
(use-package! calfw-org (use-package! calfw-org
:commands (cfw:open-org-calendar :commands (cfw:open-org-calendar
cfw:org-create-source cfw:org-create-source
cfw:org-create-file-source
cfw:open-org-calendar-withkevin cfw:open-org-calendar-withkevin
my-open-calendar)) my-open-calendar))