aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorStefan Monnier2013-10-16 23:56:51 -0400
committerStefan Monnier2013-10-16 23:56:51 -0400
commit85527ff309fc9ac5fbda80b119f021719902cc7c (patch)
tree613f0c94ed32a475b503089c4e0bf54d842bd12f /lisp/progmodes
parentc8722a9799832942ff219f4ae881f44985c35924 (diff)
downloademacs-85527ff309fc9ac5fbda80b119f021719902cc7c.tar.gz
emacs-85527ff309fc9ac5fbda80b119f021719902cc7c.zip
* lisp/progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
forward-sexp-function while we redo its job. Fixes: debbugs:15613
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/sh-script.el1
1 files changed, 1 insertions, 0 deletions
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