Fix bug in mapper function

* lisp/org.el (org-scan-tags): Make sure org-map-continue-from is nil
at each match
This commit is contained in:
Carsten Dominik 2011-12-31 09:26:56 +01:00 committed by Bastien Guerry
parent 73b1fdb965
commit 9b29bcc7c3
1 changed files with 1 additions and 0 deletions

View File

@ -12760,6 +12760,7 @@ only lines with a TODO keyword are included in the output."
(org-overview)
(org-remove-occur-highlights))
(while (re-search-forward re nil t)
(setq org-map-continue-from nil)
(catch :skip
(setq todo (if (match-end 1) (org-match-string-no-properties 2))
tags (if (match-end 4) (org-match-string-no-properties 4)))