cljr extract function - clojure-emacs/clj-refactor.el GitHub Wiki

ef Extract function

Extract the form at point, or the nearest enclosing form, into a toplevel defn.

Newly created function is either private or public, depending on cljr-favor-private-functions