aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2014-06-19 18:52:12 -0400
committerStefan Monnier <[email protected]>2014-06-19 18:52:12 -0400
commite9638b49e53127fe410fbc3689c1d781c61e09b7 (patch)
tree09c37f1e6251a2eb983ecf0d9f73563496584f5a /test
parent1503d26aa07983b9c0c06b8d10a570a63eee7515 (diff)
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
for |. Fixes: debbugs:17621
Diffstat (limited to 'test')
-rwxr-xr-xtest/indent/shell.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/indent/shell.sh b/test/indent/shell.sh
index fdf736e06b..74985a401d 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -23,6 +23,12 @@ case $X in
;;
esac
+{ # bug#17621
+ foo1 &&
+ foo2 &&
+ bar
+}
+
echo -n $(( 5 << 2 ))
# This should not be treated as a heredoc (bug#12770).
2