]> code.delx.au - gnu-emacs-elpa/blobdiff - js2-mode.el
js2-mode-extend-comment: Don't check that the next line is also commented
[gnu-emacs-elpa] / js2-mode.el
index 74f0ea2f1950cf231a44153fc271c94e1e05c877..7ee1599a8c028e962a4d6a7d83916c101fc6c8cb 100644 (file)
@@ -11905,10 +11905,7 @@ PARSE-STATUS is as documented in `parse-partial-sexp'."
             (insert "\n")
             (indent-to col)
             (insert "*/"))))
-     ((and single
-           (save-excursion
-              (and (zerop (forward-line 1))
-                   (looking-at "\\s-*//"))))
+     (single
       (indent-to col)
       (insert "// ")))
     ;; Don't need to extend the comment after all.