The way to add this to the specific .clj file would be by putting
these lines at the end:
;; Local Variables:
;; eval: (put 'with-session 'clojure-indent-function 4)
;; eval: (put 'with-open-db 'clojure-indent-function 3)
;; eval: (put 'with-search-results 'clojure-indent-function 3)
;; End:
exc
pj writes:
> I would like it to indent like this:
>
> (defn calendar-initial-sync [server user mailfile password formula]
> (with-session session hostname username password
> (with-open-db session db dbname
> (with-search-results db docs formula
> (foreach-note docs doc
>
> C
Greetings.
This is more of emacs question than Clojure question.
I am trying to figure out how to change emacs Clojure mode's default
indentation behaviour.
By default, emacs is indenting my code like this:
(defn calendar-initial-sync [server user mailfile password formula]
(with-session ses