aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/org
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2008-06-18 02:51:07 +0000
committerGlenn Morris <[email protected]>2008-06-18 02:51:07 +0000
commitc645a55f6d75c342479f8cbdf08ceb8caa15d7ad (patch)
tree16acfb7bf6d44f80889c486a14f3d9a288ec79a0 /lisp/org
parent3f9b4c2b4004ca0a1ea6bc4354ae888c20994643 (diff)
(org-map-entries): Let-bind `file'.
Diffstat (limited to 'lisp/org')
-rw-r--r--lisp/org/org.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/org/org.el b/lisp/org/org.el
index b47b52c879..7a63ad74cf 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