|
From: | Jan Malakhovski |
Subject: | Re: [O] [PATCH 3/9] org-clock: fix `org-clock-time%' |
Date: | Wed, 04 Nov 2015 11:46:55 +0000 |
User-agent: | Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.5.2 (x86_64-unknown-linux-gnu) |
Aaron Ecay <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |