summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2011-12-31 09:26:56 +0100
committerBastien Guerry <bzg@altern.org>2012-01-03 09:17:56 +0100
commit9b29bcc7c346e596bc1ad24f316514774937534d (patch)
treed7e66d2e71ab2f0b3741690e4229e608eb4539b9
parent73b1fdb96522d86e8f78d450a20ce2138c9dcf31 (diff)
downloadorg-mode-9b29bcc7c346e596bc1ad24f316514774937534d.tar.gz
Fix bug in mapper function
* lisp/org.el (org-scan-tags): Make sure org-map-continue-from is nil at each match
-rw-r--r--lisp/org.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 14b182b..2f6fb0b 100644
--- a/lisp/org.el
+++ b/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)))