aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/progmodes/sh-script.el1
-rwxr-xr-xtest/indent/shell.sh6
3 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 542a9108d32..bbff921661d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4 forward-sexp-function while we redo its job (bug#15613).
5
12013-10-17 Jay Belanger <jay.p.belanger@gmail.com> 62013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2 7
3 * calc/calc-comb.el (math-prime-test): Don't assume large integers are 8 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index ec73a06955c..f834d7f3217 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -3097,6 +3097,7 @@ This takes into account that there may be nested open..close pairings.
3097OPEN and CLOSE are regexps denoting the tokens to be matched. 3097OPEN and CLOSE are regexps denoting the tokens to be matched.
3098Optional parameter DEPTH (usually 1) says how many to look for." 3098Optional parameter DEPTH (usually 1) says how many to look for."
3099 (let ((parse-sexp-ignore-comments t) 3099 (let ((parse-sexp-ignore-comments t)
3100 (forward-sexp-function nil)
3100 prev) 3101 prev)
3101 (setq depth (or depth 1)) 3102 (setq depth (or depth 1))
3102 (save-excursion 3103 (save-excursion
diff --git a/test/indent/shell.sh b/test/indent/shell.sh
index 790656501d1..e402398b996 100755
--- a/test/indent/shell.sh
+++ b/test/indent/shell.sh
@@ -5,6 +5,12 @@ setlock -n /tmp/getmail.lock && echo getmail isn\'t running
5 5
6# adsgsdg 6# adsgsdg
7 7
8if foo; then
9 if bar; then
10 toto
11 fi
12fi # bug#15613
13
8case $X in 14case $X in
9 foo) 15 foo)
10 do_something 16 do_something