Get rid of all anaphoric macros

Make our code more idiomatic Emacs Lisp by using higher order functions,
i.e. lambdas or apply-partially instead