Browse Source

Fix bug in mapper function

* lisp/org.el (org-scan-tags): Make sure org-map-continue-from is nil
at each match
Carsten Dominik 6 years ago
parent
commit
9b29bcc7c3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org.el

+ 1 - 0
lisp/org.el

@@ -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)))