3 ms·
Emacs indents the true and false forms differently: (if (foo-condition-p) bar ;; then baz ;; else quux) ;; else You can also decl
by jrockway 15y ago
Emacs indents the true and false forms differently:
(if (foo-condition-p)
bar ;; then
baz ;; else
quux) ;; else
You can also declare the indentation style of arbitrary macros, ensuring that "if" is not just some special case.
- simonb 15y agoThis is an emacs lisp-only convention, most likely stemming from the fact that elisp allows multiple else forms (most other lisps don't, which at least for me also solves the problem of visually parsing ifs).