Commits

alex koval  committed de166e9

count time in

  • Participants
  • Parent commits d215440

Comments (0)

Files changed (1)

File configs/cfg_orgmode.el

 
 (defun my-org-insert-current-item-time()
   (interactive)
+  (org-clock-out)
   (setq current-item-time-spent (org-clock-sum-current-item))
   (setq h (/ current-item-time-spent 60)
 	m (- current-item-time-spent (* 60 h)))
   (insert (format "%02d:%.02d" h m))
+  (org-clock-in)
 )
 
 (defun my-org-insert-item-report-line()