emacs: refactor recipes