|
From: | Stefan Monnier |
Subject: | Re: shell-script goofy indentation |
Date: | Wed, 01 Dec 2004 19:13:31 GMT |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
> (setq sh-indent-for-else sh-indent-for-then) You want (setq sh-indent-for-then 0) That's what I use anyway, so that I can write if foo then bar else baz fi I always found the default value of sh-indent-for-then (i.e. `+') to be at best unnatural. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |