Prechádzať zdrojové kódy

Merge branch 'maint'

Nicolas Goaziou 6 rokov pred
rodič
commit
30e5b846b4
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lisp/org.el

+ 1 - 1
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)