aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorStefan Monnier2014-06-19 21:05:40 -0400
committerStefan Monnier2014-06-19 21:05:40 -0400
commit500dce5f4d2a08570177d9b1019fa922f07e8508 (patch)
tree4e36479096a23e12e7855610aebd8dd8f5f89f5a /test
parent2c25d5e6216d556a85f9c01bba5671f41637e11f (diff)
downloademacs-500dce5f4d2a08570177d9b1019fa922f07e8508.tar.gz
emacs-500dce5f4d2a08570177d9b1019fa922f07e8508.zip
* lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
(smie-indent--hanging-p): Use it. * lisp/progmodes/sh-script.el (sh-set-shell): Set it. Fixes: debbugs:17621
Diffstat (limited to 'test')
-rwxr-xr-xtest/indent/shell.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/indent/shell.sh b/test/indent/shell.sh
index 74985a401d4..ed6bcf8da3a 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -25,7 +25,11 @@ esac
25 25
26{ # bug#17621 26{ # bug#17621
27 foo1 && 27 foo1 &&
28 foo2 && 28 foo2 &&
29 bar
30
31 foo1 && \
32 foo2 && \
29 bar 33 bar
30} 34}
31 35