diff options
| author | Stefan Monnier | 2014-06-19 18:52:12 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-06-19 18:52:12 -0400 |
| commit | e9638b49e53127fe410fbc3689c1d781c61e09b7 (patch) | |
| tree | 09c37f1e6251a2eb983ecf0d9f73563496584f5a /test | |
| parent | 1503d26aa07983b9c0c06b8d10a570a63eee7515 (diff) | |
| download | emacs-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-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 fdf736e06be..74985a401d4 100755 --- a/test/indent/shell.sh +++ b/test/indent/shell.sh | |||
| @@ -23,6 +23,12 @@ case $X in | |||
| 23 | ;; | 23 | ;; |
| 24 | esac | 24 | esac |
| 25 | 25 | ||
| 26 | { # bug#17621 | ||
| 27 | foo1 && | ||
| 28 | foo2 && | ||
| 29 | bar | ||
| 30 | } | ||
| 31 | |||
| 26 | echo -n $(( 5 << 2 )) | 32 | echo -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). |
| 28 | 2 | 34 | 2 |