changeset 96059:d778538bae7f

(org-map-entries): Let-bind `file'.
author Glenn Morris <rgm@gnu.org>
date Wed, 18 Jun 2008 02:51:07 +0000
parents 7ca8fbd3c153
children a2ebb8823029
files lisp/org/org.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/org/org.el	Wed Jun 18 02:50:11 2008 +0000
+++ b/lisp/org/org.el	Wed Jun 18 02:51:07 2008 +0000
@@ -10003,18 +10003,18 @@
 	 (org-agenda-skip-function
 	  (car (org-delete-all '(comment archive) skip)))
 	 (org-tags-match-list-sublevels t)
-	 matcher pos)
+	 matcher pos file)
 
     (cond
      ((eq match t)   (setq matcher t))
      ((eq match nil) (setq matcher t))
      (t (setq matcher (if match (org-make-tags-matcher match) t))))
-    
+
     (when (eq scope 'tree)
       (org-back-to-heading t)
       (org-narrow-to-subtree)
       (setq scope nil))
-    
+
     (if (not scope)
 	(progn
 	  (org-prepare-agenda-buffers