]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/js.el
merge and fixes
[gnu-emacs] / lisp / progmodes / js.el
index 6bd22e4e6fa0f7840cce6416ba25c40cb11a8948..6bd8fbc2442894a2a8e278e0fe40a14be64fcb4d 100644 (file)
@@ -3327,6 +3327,13 @@ Key bindings:
         comment-start-skip "\\(//+\\|/\\*+\\)\\s *")
 
   (let ((c-buffer-is-cc-mode t))
+    ;; FIXME: These are normally set by `c-basic-common-init'.  Should
+    ;; we call it instead?  (Bug#6071)
+    (make-local-variable 'paragraph-start)
+    (make-local-variable 'paragraph-separate)
+    (make-local-variable 'paragraph-ignore-fill-prefix)
+    (make-local-variable 'adaptive-fill-mode)
+    (make-local-variable 'adaptive-fill-regexp)
     (c-setup-paragraph-variables))
 
   (set (make-local-variable 'syntax-begin-function)