]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/js.el
Fix problems caused by new implementation of sub-word mode
[gnu-emacs] / lisp / progmodes / js.el
index 1e5cc60ee51c6e33eaa5a53b4054d4954714511f..15a52ba8cdc9a0b1a2f2c3e9e1c8981454a0a044 100644 (file)
@@ -838,7 +838,7 @@ return the name of the function, or t if the name could not be
 determined.  Otherwise, return nil."
   (cl-assert (looking-at "\\_<function\\_>"))
   (let ((name t))
-    (forward-word)
+    (forward-word-strictly)
     (forward-comment most-positive-fixnum)
     (when (eq (char-after) ?*)
       (forward-char)