From 87d0fff2fdeb0c04630f572bb73e3dfec14d36f3 Mon Sep 17 00:00:00 2001 From: Max Schlueter Date: Wed, 29 Jul 2020 12:01:25 +0200 Subject: [PATCH] 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. --- modules/app/calendar/README.org | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/modules/app/calendar/README.org b/modules/app/calendar/README.org index 11ded2d22..073e20fa0 100644 --- a/modules/app/calendar/README.org +++ b/modules/app/calendar/README.org @@ -43,23 +43,6 @@ calendar data from: ))) #+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. ** Synchronizing Org and Google Calendar