Emacs Lispで部分適用
apply-partiallyを使う.
(apply-partially FUN &rest ARGS)
Return a function that is a partial application of FUN to ARGS.
ARGS is a list of the first N arguments to pass to FUN.
The result is a new function which does the same as FUN, except that
the first N arguments are fixed at the values with which this function
was called.
(apply (apply-partially 'call-process "echo" nil nil nil) (list "foo" "bar"))
みたいにすることで,&restな引数だけをリストで渡すとかできる.