 (defun pmade:org-time-diff (t1 t2)
   "Returns the difference between t1 and t2.  Expects that times
 are formatted as HH:MM and returns them in that format"
-  (org-minutes-to-hh:mm-string 
+  (org-minutes-to-hh:mm-string
    (- (org-hh:mm-string-to-minutes t1)
       (org-hh:mm-string-to-minutes t2))))

   org-icalendar-store-UID t
   org-export-html-style-default ""
   org-export-html-style-extra ""
   org-export-html-style (concat "<link rel=\"stylesheet\" type=\"text/css\" href=\"" pmade-print-css "\"/>")))

(add-hook 'org-mode-hook 'pmade:org-mode-hook)

(add-hook 'org-agenda-mode-hook 
  (lambda () 
    ;; Use line highlighting in the Org Agenda
    (hl-line-mode 1)
    
    ;; Keys
    (define-key org-agenda-keymap " " 'org-agenda-cycle-show)
    (define-key org-agenda-mode-map " " 'org-agenda-cycle-show)

(autoload 'org-invoice-report "org-invoice" nil t)
(autoload 'org-dblock-write:invoice "org-invoice" nil t)
(autoload 'org-eva-submit "org-eva" nil t)

(eval-after-load "org-eva"
  '(let ((eva-conf "~/develop/pmade/privaterc/emacs/secrets.el"))
