diff options
author | Marco Wahl <marcowahlsoft@gmail.com> | 2019-01-25 10:32:07 +0100 |
---|---|---|
committer | Marco Wahl <marcowahlsoft@gmail.com> | 2019-01-25 10:32:07 +0100 |
commit | ed7ea512c225f7be21471a17d2da11063f5bf3e6 (patch) | |
tree | ae3e1425f9a0bcb8f2c48d858b56bba8d9c0d84d | |
parent | deb5c4f39a3b249178bf870f119486b9bd50d009 (diff) | |
download | org-mode-ed7ea512c225f7be21471a17d2da11063f5bf3e6.tar.gz |
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.
-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 532d118..13ad44b 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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|...): " |