diff options
| author | Stefan Monnier | 2014-07-08 14:38:07 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-07-08 14:38:07 -0400 |
| commit | d8899d09b992d733dc1cc6ec93b11cb75ce84f5d (patch) | |
| tree | 86545998caf5d00d888e7ed23f9ef9a510a7a18c /test | |
| parent | c838708452e293d8d55f1476f599eff28b94f255 (diff) | |
| download | emacs-d8899d09b992d733dc1cc6ec93b11cb75ce84f5d.tar.gz emacs-d8899d09b992d733dc1cc6ec93b11cb75ce84f5d.zip | |
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
the middle of a line.
Fixes: debbugs:17896
Diffstat (limited to 'test')
| -rwxr-xr-x | test/indent/shell.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/indent/shell.sh b/test/indent/shell.sh index 4a30739e2d9..e3619057d6e 100755 --- a/test/indent/shell.sh +++ b/test/indent/shell.sh | |||
| @@ -41,6 +41,12 @@ for foo in bar; do # bug#17721 | |||
| 41 | } | 41 | } |
| 42 | done | 42 | done |
| 43 | 43 | ||
| 44 | for foo in bar; do # bug#17896 | ||
| 45 | [ -e $foo ] && [ -e $bar ] && { | ||
| 46 | echo just fine thanks | ||
| 47 | } | ||
| 48 | done | ||
| 49 | |||
| 44 | filter_3 () # bug#17842 | 50 | filter_3 () # bug#17842 |
| 45 | { | 51 | { |
| 46 | tr -d '"`' | tr ' ' ' ' | \ | 52 | tr -d '"`' | tr ' ' ' ' | \ |