close
  • chevron_right

    Indent IF CCL-style

    Michał "phoe" Herda · Sunday, 23 December, 2018 - 12:05

(This is a repost of an old blog post of mine from Teknik.)

#common-lisp #clozure #ccl #emacs

In Emacs, evaluate:

(put 'if 'common-lisp-indent-function 1)

It will give you this indentation style:

(if foo
  bar
  baz)