]> git.donarmstrong.com Git - lib.git/commitdiff
only enable org-gcal if there's a reason to
authorDon Armstrong <don@donarmstrong.com>
Fri, 1 Jun 2018 16:10:54 +0000 (09:10 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 1 Jun 2018 16:10:54 +0000 (09:10 -0700)
emacs_el/configuration/don-configuration.org

index 243b1336affdbe80d394492e600dfb52b546550b..567035f20252cfb15d90b7a9adaf06425349e281 100644 (file)
@@ -2337,18 +2337,19 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
 #+END_SRC
 ** Org-Gcal
 #+BEGIN_SRC emacs-lisp
-  (use-package calfw
-    :ensure f
-    )
-  (use-package calfw-org
-    :ensure f
-    )
-  (use-package org-gcal
-    :ensure f
-    :config '((if (file-readable-p "~/.hide/org_gcal.el")
-                  (load-file "~/.hide/org_gcal.el"))
-              )
-    )
+(use-package calfw
+  :ensure f
+  )
+(use-package calfw-org
+  :ensure f
+  )
+(use-package org-gcal
+  :if (file-readable-p "~/.hide/org_gcal.el")
+  :ensure f
+  :config '((if (file-readable-p "~/.hide/org_gcal.el")
+                (load-file "~/.hide/org_gcal.el"))
+            )
+  )
 #+END_SRC
 ** appt integration
 #+BEGIN_SRC emacs-lisp