I am learning common lisp and am trying to follow the style guide suggested by lisp-lang.org. In this style guide is an if
statement style that I think makes the code more readable:
(if (cond)
(true-branch)
(false-branch))
That is, the branches line up. I find this to be syntactically easier to read. Using lisp-mode
with no extra goodies the default seems to be:
(if (cond)
(true-branch)
(false-branch))
For some strange reason. The false block is pushed back to line up with the f
of the if statement. I find this a little jarring.
Is there a way to clean this up so I can have the default formatting conform the linked styleguide?