]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/js.el
* lisp/emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
[gnu-emacs] / lisp / progmodes / js.el
index 4aa1ac270d5bd08f8c9f1203e3be0201fcfaa442..2ea78fc321c31a26fd1d2de05e0a8ae14e276363 100644 (file)
@@ -1785,7 +1785,7 @@ statement spanning multiple lines; otherwise, return nil."
                         (or (eq (char-before) ?,)
                             (and (not (eq (char-before) ?\;))
                                  (prog2
-                                     (skip-chars-backward "[[:punct:]]")
+                                     (skip-syntax-backward ".")
                                      (looking-at js--indent-operator-re)
                                    (js--backward-syntactic-ws))
                                  (not (eq (char-before) ?\;)))