branch: externals/js2-mode
commit b913961e410dbfdc52a80d62eb4cfe7a305b4e3e
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>
js2-mode-forward-sexp: Fix TO <-> FROM order of args to parse-partial-sexp
Fixes #571
---
js2-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js2-mode.el b/js2-mode.el
index a5563b9..daf2dfb 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -12609,7 +12609,7 @@ move backward across N balanced expressions."
(setq pos (js2-node-abs-pos child)))
;; Before both parens.
(setq pos lp)))
- (let ((state (parse-partial-sexp start pos)))
+ (let ((state (parse-partial-sexp pos start)))
(goto-char (if (not (zerop (car state)))
;; Stumble at the unbalanced paren if < 0, or
;; jump a bit further if > 0.