]> code.delx.au - gnu-emacs/commit
* lisp/progmodes/sh-script.el: Fix indentation rule of "| while".
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 4 Dec 2014 15:09:08 +0000 (10:09 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 4 Dec 2014 15:09:08 +0000 (10:09 -0500)
commite3c24b171bfff16fb808cb02d3fc5eaff017c1bc
tree36899d349d406a88d8f3d53a999dbe93ed1891c2
parentd9d383147219f8e6a90d4c177e1b454e19acfac9
* lisp/progmodes/sh-script.el: Fix indentation rule of "| while".

Fixes: debbugs:18031
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
of the whole pipe when indenting an opening keyword after a |.
Generalize this treatment to opening keywords like "while".
lisp/ChangeLog
lisp/progmodes/sh-script.el
test/indent/shell.sh