]> git.donarmstrong.com Git - lib.git/commitdiff
fix indentation of appt integration
authorDon Armstrong <don@donarmstrong.com>
Tue, 16 Jan 2018 20:24:42 +0000 (12:24 -0800)
committerDon Armstrong <don@donarmstrong.com>
Tue, 16 Jan 2018 20:24:42 +0000 (12:24 -0800)
emacs_el/configuration/don-configuration.org

index 407dde718bc7020cdc23072954a7099ee05c4fd6..1f38321e01235d5bf9c946786f479f603fd61f1c 100644 (file)
@@ -1815,7 +1815,7 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
     (defadvice org-save-all-org-buffers (after org-save-all-org-buffers-add-appts)
       "Re-add appts after saving all org buffers"
       (my/org-agenda-to-appt))
-                                          ; Display appointments as a window manager notification
+    ;; Display appointments as a window manager notification
     (setq appt-disp-window-function 'my/appt-display)
     (setq appt-delete-window-function (lambda () t))
   
@@ -1823,10 +1823,12 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
   
     (defun my/appt-display (min-to-app new-time msg)
       (if (atom min-to-app)
-          (start-process "my/appt-notification-app" nil my/appt-notification-app min-to-app msg)
-        (dolist (i (number-sequence 0 (1- (length min-to-app))))
-          (start-process "my/appt-notification-app" nil my/appt-notification-app
-                         (nth i min-to-app) (nth i msg))))))
+      (start-process "my/appt-notification-app" nil my/appt-notification-app min-to-app msg)
+    (dolist (i (number-sequence 0 (1- (length min-to-app))))
+      (start-process "my/appt-notification-app" nil my/appt-notification-app
+                     (nth i min-to-app) (nth i msg))))
+      )
+    )
 
 
 #+END_SRC