Aaron Ecay <aarone...@gmail.com> writes: > This could be converted to dolist while you’re here (I realize you > didn’t touch this line).
Ok. >> - (if (string-match "\\([0-9]+\\):\\([0-9]+\\)" s) >> - (throw 'exit >> - (/ (* 100.0 (+ (string-to-number (match-string 2 s)) >> - (* 60 (string-to-number >> - (match-string 1 s))))) >> - tot)))) >> - 0)))) >> + (setq cur (org-clocksum-string-to-minutes s)) >> + (if (not (equal cur nil)) (throw 'exit (/ (* 100.0 cur) tot)))) Ok.