Skip to content

Instantly share code, notes, and snippets.

@fogus
Created January 7, 2011 18:22
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fogus/769864 to your computer and use it in GitHub Desktop.
Save fogus/769864 to your computer and use it in GitHub Desktop.
how to make your own forms indent properly in emacs with clojure-mode
(defn pumpkin [op & args]
(apply op args))
(pumpkin +
1
2
3)
;; in emacs do:
;; M-x eval-expression
;; (define-clojure-indent (pumpkin 'defun))
(pumpkin +
1
2
3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment