aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2014-06-19 18:52:12 -0400
committerStefan Monnier2014-06-19 18:52:12 -0400
commite9638b49e53127fe410fbc3689c1d781c61e09b7 (patch)
tree09c37f1e6251a2eb983ecf0d9f73563496584f5a /test
parent1503d26aa07983b9c0c06b8d10a570a63eee7515 (diff)
downloademacs-e9638b49e53127fe410fbc3689c1d781c61e09b7.tar.gz
emacs-e9638b49e53127fe410fbc3689c1d781c61e09b7.zip
* 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 fdf736e06be..74985a401d4 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -23,6 +23,12 @@ case $X in
23 ;; 23 ;;
24esac 24esac
25 25
26{ # bug#17621
27 foo1 &&
28 foo2 &&
29 bar
30}
31
26echo -n $(( 5 << 2 )) 32echo -n $(( 5 << 2 ))
27# This should not be treated as a heredoc (bug#12770). 33# This should not be treated as a heredoc (bug#12770).
282 342