summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-25 23:35:35 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-01-25 23:35:35 +0100
commitff212d85286a44a0b5cc69a3fb90ee120f047b33 (patch)
tree0c595286c0e8a5fc7b109fb7fdf9174b200d9234
parent3d7c221a45246c5398f1ad477660c65180fdebcd (diff)
downloadorg-mode-ff212d85286a44a0b5cc69a3fb90ee120f047b33.tar.gz
org-clock: Small refactoring
* lisp/org-clock.el (org-clock-in): Use `org-refresh-effort-properties'.
-rw-r--r--lisp/org-clock.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 1d0728e..58eb0c9 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1191,9 +1191,7 @@ time as the start time. See `org-clock-continuously' to make this
the default behavior."
(interactive "P")
(setq org-clock-notification-was-shown nil)
- (org-refresh-properties
- org-effort-property '((effort . identity)
- (effort-minutes . org-duration-string-to-minutes)))
+ (org-refresh-effort-properties)
(catch 'abort
(let ((interrupting (and (not org-clock-resolving-clocks-due-to-idleness)
(org-clocking-p)))