[Org] Simplification

This commit is contained in:
Daniel - 2018-01-13 14:07:20 +01:00
parent 2a6c40d446
commit 375e39dd35
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 3 additions and 4 deletions

View File

@ -1150,10 +1150,9 @@ START and END must be given as org-mode timestamp strings."
;; Keep headline as they are, i.e., do nothing
(lambda ())))
;; Finally add the new clock line
(org-with-point-at location
(db/org-add-clocking-time (apply #'encode-time (org-parse-time-string start))
(apply #'encode-time (org-parse-time-string end))))))
;; Finally add the new clock line
(org-with-point-at location
(db/org-add-clocking-time new-start new-end)))))
;;; End