Refactoring using a CLI in Emacs Lisp