diff options
author | David Maus <dmaus@ictsoc.de> | 2012-02-12 19:38:20 +0100 |
---|---|---|
committer | David Maus <dmaus@ictsoc.de> | 2012-02-12 19:38:20 +0100 |
commit | 1fd0234a303ec76786ded89b3fc39a81a8fc9af5 (patch) | |
tree | 78be83b3f19911c08b71eab2ad303e26fd155e21 | |
parent | eda5eb1f3a34bc56e4bbf3cb519c4d93884ad2c9 (diff) | |
download | org-mode-1fd0234a303ec76786ded89b3fc39a81a8fc9af5.tar.gz |
Fix highlighting in sparse-tree
* org.el (org-scan-tags): Fix highlighting in sparse-tree.
`org-get-heading' uses `org-heading-regexp' introduced by
dfcb6faef11a2439b56b18a6289803361d402130 but `org-scan-tags' assumed
match groups of the old regular expression.
This should fix a bug reported by Suvayu Ali in
<20120209032255.431e8197@kuru.dyndns-at-home.com>.
-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 882a41c..32c047c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -12868,7 +12868,7 @@ headlines matching this string." (and org-highlight-sparse-tree-matches (org-get-heading) (match-end 0) (org-highlight-new-match - (match-beginning 0) (match-beginning 1))) + (match-beginning 1) (match-end 1))) (org-show-context 'tags-tree)) ((eq action 'agenda) (setq txt (org-agenda-format-item |