Ihor Radchenko <[email protected]> writes:
> Note that attachment in the previous email appears to be empty. Can you
> resend? I will take a look then.
My mistake, populated file is attached. Thanks.
Kevin
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index dedf7e5bb..1df99ec79 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -10487,7 +10487,12 @@ (defun org-agenda-bulk-action (&optional arg)
(action
(pcase (assoc action org-agenda-bulk-custom-functions)
- (`(,_ ,f) (setq cmd f) (setq redo-at-end t))
+ (`(,_ ,f)
+ (when (listp f)
+ (let ((args (funcall (nth 1 f)))
+ (func (nth 0 f)))
+ (setq f (apply #'apply-partially func args))))
+ (setq cmd f) (setq redo-at-end t))
(_ (user-error "Invalid bulk action: %c" action)))))
;; Sort the markers, to make sure that parents are handled