Tiny fix to `org-set-effort'
commitecffcbcf1c6a9e03580e2992d73f0b42f209f1ca
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 22 Jun 2016 20:39:50 +0000 (22 22:39 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 22 Jun 2016 20:39:50 +0000 (22 22:39 +0200)
tree0ea7276ab158633b59f5faa77b7c34ed33a6a0ce
parent2be2a15566782fad60d441582913a1f687b8b74d
Tiny fix to `org-set-effort'

* lisp/org.el (org-set-effort): Use `equal' instead of `string='.

Since (string= "nil" nil) is non-nil, a "nil" heading could be mistaken
for the current clocked task if `org-clock-current-task' is not bound,
or if there is no current clocked task.
lisp/org.el