# HG changeset patch # User Glenn Morris # Date 1213757467 0 # Node ID d778538bae7fbdd24b20cdd71ee67353e6823b1b # Parent 7ca8fbd3c153bf1f0be928a04ec9adefb0b084c0 (org-map-entries): Let-bind `file'. diff -r 7ca8fbd3c153 -r d778538bae7f lisp/org/org.el --- 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