How to make emacs properly indent if-then-else construct in elisp
- by Mad Wombat
When I indent if-then-else construct in emacs lisp, the else block doesn't indent properly. What I get is:
(defun swank-clojure-decygwinify (path)
"Convert path from CYGWIN UNIX style to Windows style"
(if (swank-clojure-cygwin)
(replace-regexp-in-string "\n" "" (shell-command-to-string (concat "cygpath -w " path)))
(path)))
where else form is not indented at the same level as the then form. Is there an obvious way to fix this?