diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-09 11:01:05 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-03-09 11:01:05 +0100 |
commit | 30e5b846b48039b4e64e38230657cc4fb6baeecc (patch) | |
tree | d04100d5cfedcc3ba14491c867124ac5a8f18be7 | |
parent | 51444aadf5cdfe1100758e3163681c61cc7ec264 (diff) | |
parent | d313b249918d490792562d0b8f57b97cec860474 (diff) | |
download | org-mode-30e5b846b48039b4e64e38230657cc4fb6baeecc.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org.el | 2 |
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) |