diff options
author | Bastien Guerry <bzg@altern.org> | 2012-05-23 12:13:21 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-05-23 12:13:21 +0200 |
commit | 141d0fd24bbad52065e41ba7692f53710f627e73 (patch) | |
tree | 6eb688d583b196beca923f95a681f66b8280e396 | |
parent | f64a859db8173ea8c22c65de584878ab39f493df (diff) | |
download | org-mode-141d0fd24bbad52065e41ba7692f53710f627e73.tar.gz |
org.el (org-scan-tags): Fix bug when building the scanner regexp.
* org.el (org-scan-tags): Fix bug when building the scanner regexp.
Thanks to Mike McLean, who first reported this issue and provided a
reproducible recipe. Thanks to Laurynas Biveinis and Loris Bennett
who provided complementary feedback on this.
-rw-r--r-- | lisp/org.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/org.el b/lisp/org.el index 4710bd5..fa57fc0 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -12828,10 +12828,7 @@ headlines matching this string." org-outline-regexp) " *\\(\\<\\(" (mapconcat 'regexp-quote org-todo-keywords-1 "\\|") - (org-re - (if todo-only - "\\>\\)\\)[ \t]+\\(.*?\\)\\(:[[:alnum:]_@#%:]+:\\)?[ \t]*$" - "\\>\\)\\)? *\\([^ ].*?\\)\\(:[[:alnum:]_@#%:]+:\\)?[ \t]*$")))) + (org-re "\\)\\>\\)? *\\(.*?\\)\\(:[[:alnum:]_@#%:]+:\\)?[ \t]*$"))) (props (list 'face 'default 'done-face 'org-agenda-done 'undone-face 'default |