Преглед на файлове

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.
Marco Wahl преди 6 години
родител
ревизия
ed7ea512c2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      lisp/org.el

+ 1 - 1
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|...): "