]> git.armaanb.net Git - config.org.git/commitdiff
Run vdirsyncer asynchronously
authorArmaan Bhojwani <me@armaanb.net>
Thu, 27 May 2021 14:58:03 +0000 (10:58 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Thu, 27 May 2021 14:58:03 +0000 (10:58 -0400)
config.org

index deb9c1700823bc0ae0e5fe87a285a04314b452f6..2b97643a677c672dc99ad7c9e665d645739ec389 100644 (file)
@@ -497,7 +497,7 @@ Still experimenting with this setup. Not sure if I will keep it, but it works we
   (defun sync-calendar ()
     "Sync calendars with vdirsyncer"
     (interactive)
-    (shell-command "vdirsyncer -vcritical sync"))
+    (async-shell-command "vdirsyncer sync"))
 
   (use-package calfw
     :bind (:map cfw:calendar-mode-map ("C-S-u" . sync-calendar)))