org: Fix match of todo items

* lisp/org.el (org-show-todo-tree): Don't match headlines that start
  with a todo kwd as prefix.
This commit is contained in:
Marco Wahl 2019-01-25 10:32:07 +01:00
parent deb5c4f39a
commit ed7ea512c2
1 changed files with 1 additions and 1 deletions

View File

@ -12771,7 +12771,7 @@ of `org-todo-keywords-1'."
(interactive "P")
(let ((case-fold-search nil)
(kwd-re
(cond ((null arg) org-not-done-regexp)
(cond ((null arg) (concat org-not-done-regexp "\\s-"))
((equal arg '(4))
(let ((kwd
(completing-read "Keyword (or KWD1|KWD2|...): "