From: Glenn Morris Date: Wed, 18 Jun 2008 02:51:07 +0000 (+0000) Subject: (org-map-entries): Let-bind `file'. X-Git-Tag: emacs-pretest-23.0.90~4686 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c645a55f6d75c342479f8cbdf08ceb8caa15d7ad;p=emacs.git (org-map-entries): Let-bind `file'. --- diff --git a/lisp/org/org.el b/lisp/org/org.el index b47b52c879b..7a63ad74cfb 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -10003,18 +10003,18 @@ the scanner. The following items can be given here: (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