apply-partially cannot specify the order.

Is there one from the default Emacs installation that can specify order?

  • 1
    Please consider showing how you would use such a function, to make clear what you mean by "specify the order".
    – Drew
    Jan 6, 2018 at 14:54

1 Answer 1


If you want something more general/flexible than apply-partially, then there's lambda:

(lambda (x y z) (funcall F A B y x C D z))

you'll want to make sure you have -*- lexical-binding:t -*- at the top of your file for that, tho.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.