浏览代码

Fix bug in mapper function

* lisp/org.el (org-scan-tags): Make sure org-map-continue-from is nil
at each match
Carsten Dominik 13 年之前
父节点
当前提交
4a0cb0dbd1
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)))