emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/js2-mode b913961: js2-mode-forward-sexp: Fix TO <-> FRO


From: ELPA Syncer
Subject: [elpa] externals/js2-mode b913961: js2-mode-forward-sexp: Fix TO <-> FROM order of args to parse-partial-sexp
Date: Sun, 29 Aug 2021 20:57:17 -0400 (EDT)

branch: externals/js2-mode
commit b913961e410dbfdc52a80d62eb4cfe7a305b4e3e
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]