浏览代码

org-agenda.el (org-agenda-bulk-action): Use the let-bound `entries' instead the variable

* org-agenda.el (org-agenda-bulk-action): Use the let-bound
`entries' instead the variable.
Bastien Guerry 12 年之前
父节点
当前提交
ea0b50be37
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
lisp/org-agenda.el

@@ -8924,7 +8924,7 @@ The prefix arg is passed through to the command if possible."
 	 ((member action '(?r ?w))
 	  (setq rfloc (org-refile-get-location
 		       "Refile to"
-		       (marker-buffer (car org-agenda-bulk-marked-entries))
+		       (marker-buffer (car entries))
 		       org-refile-allow-creating-parent-nodes))
 	  (if (nth 3 rfloc)
 	      (setcar (nthcdr 3 rfloc)