Source

ocaml-indent / ocaml-indent.el

The default branch has multiple heads

Diff from to

ocaml-indent.el

 	(with-current-buffer (get-buffer-create ocaml-indent-process-buffer)
 	  (erase-buffer))
 
-	(let* ((base-command '(call-process-region 1 end-char
+	;; We cannot stop sending contenst to the process at end-char,
+	;; Since comments and strings may not end at end-char
+	(let* ((base-command '(call-process-region 1 (point-max)
 						   ocaml-indent-command
 						   nil ; delete
 						   ocaml-indent-process-buffer ; buffer