Skip to content

Instantly share code, notes, and snippets.

@pjstadig
Forked from hiredman/gist:4583350
Last active December 11, 2015 10:09
Show Gist options
  • Save pjstadig/4585215 to your computer and use it in GitHub Desktop.
Save pjstadig/4585215 to your computer and use it in GitHub Desktop.
(defn indent-as-defun []
""
(interactive)
(let [s (symbol-at-point)]
(put-clojure-indent s 'defun)))
(setq lexical-binding t)
(let ((G__1886 (let ((indent-as-defun nil))
(fset 'indent-as-defun
(lambda ()
(let ((G__1887 (progn
(cljel.user.interactive )
(let ((s (cljel.user.symbol_at_point )
)
)
(let ((G__1888 (progn
(cljel.user.put_clojure_indent s 'defun)
)
))
G__1888
)
)
)
))
G__1887
)
)
)
(function indent-as-defun)
)
))
(if (functionp G__1886)
(fset 'cljel.user.indent_as_defun G__1886)
(setq cljel.user.indent_as_defun G__1886)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment