Example doesn't work in general
For example, when the calendar view is refreshed. Use cfw:org-create-file-source when wanting to show org files from other sources.
This commit is contained in:
parent
8f994551d4
commit
87d0fff2fd
1 changed files with 0 additions and 17 deletions
|
@ -43,23 +43,6 @@ calendar data from:
|
||||||
)))
|
)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
To control what org files ~clfw:org-create-source~ will use, ~let~-bind
|
|
||||||
~org-agenda-files~ around a call to ~+calendar/open-calendar~ like so:
|
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
;;;###autoload
|
|
||||||
(defun cfw:open-org-calendar-with-cal1 ()
|
|
||||||
(interactive)
|
|
||||||
(let ((org-agenda-files '("/path/to/org/" "/path/to/cal1.org")))
|
|
||||||
(call-interactively #'+calendar/open-calendar)))
|
|
||||||
|
|
||||||
;;;###autoload
|
|
||||||
(defun cfw:open-org-calendar-with-cal2 ()
|
|
||||||
(interactive)
|
|
||||||
(let ((org-agenda-files '("/path/to/org/" "/path/to/cal2.org")))
|
|
||||||
(call-interactively #'+calendar/open-calendar)))
|
|
||||||
#+END_SRC
|
|
||||||
|
|
||||||
The [[https://github.com/kiwanami/emacs-calfw][kiwanami/emacs-calfw]] project readme contains more examples.
|
The [[https://github.com/kiwanami/emacs-calfw][kiwanami/emacs-calfw]] project readme contains more examples.
|
||||||
|
|
||||||
** Synchronizing Org and Google Calendar
|
** Synchronizing Org and Google Calendar
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue