summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-09 11:01:05 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-09 11:01:05 +0100
commit30e5b846b48039b4e64e38230657cc4fb6baeecc (patch)
treed04100d5cfedcc3ba14491c867124ac5a8f18be7
parent51444aadf5cdfe1100758e3163681c61cc7ec264 (diff)
parentd313b249918d490792562d0b8f57b97cec860474 (diff)
downloadorg-mode-30e5b846b48039b4e64e38230657cc4fb6baeecc.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 6687e9d..8bdc598 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -12082,7 +12082,7 @@ When called through ELisp, arg is also interpreted in the following way:
(run-hook-with-args-until-success
'org-todo-get-default-hook org-state org-last-state)
org-state))
- (next (if org-state (concat " " org-state " ") " "))
+ (next (if (org-string-nw-p org-state) (concat " " org-state " ") " "))
(change-plist (list :type 'todo-state-change :from this :to org-state
:position startpos))
dolog now-done-p)