Refactoring using CLI Emacs Lisp