Browse Source

Fix agenda bulk commands

* lisp/org-agenda.el (org-agenda-bulk-action): Do not use the entries
variable before it is defined
Carsten Dominik 14 years ago
parent
commit
c9958a3999
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
lisp/org-agenda.el

@@ -7942,7 +7942,7 @@ The prefix arg is passed through to the command if possible."
 		  (buffer-live-p (marker-buffer m))
 		  (buffer-live-p (marker-buffer m))
 		  (marker-position m))
 		  (marker-position m))
        (error "Marker %s for bulk command is invalid" m)))
        (error "Marker %s for bulk command is invalid" m)))
-   entries)
+   org-agenda-bulk-marked-entries)
 
 
   ;; Prompt for the bulk command
   ;; Prompt for the bulk command
   (message "Bulk: [r]efile [$]arch [A]rch->sib [t]odo [+/-]tag [s]chd [S]catter [d]eadline [f]unction")
   (message "Bulk: [r]efile [$]arch [A]rch->sib [t]odo [+/-]tag [s]chd [S]catter [d]eadline [f]unction")