Commits

Peter Szilagyi committed 48a1413

In tuareg-compute-indentation, fixed lines of non-comment blocks after the first.

Comments (0)

Files changed (1)

elisp/contrib/tuareg/tuareg.el

               (let ((star (and (tuareg-leading-star-p)
                                (looking-at "\\*"))))
                 (tuareg-beginning-of-literal-or-comment-fast)
-                (if star (re-search-forward "(") (re-search-forward "(\\*+[ \t]*"))
+                (if star (re-search-forward "(")
+                  ;; may be in comment or may not be
+                  (re-search-forward "(\\*+[ \t]*" nil 'noerror))
                 (current-column))
             ;; XCR cfalls: Small bug: the first statement will be
             ;; indented too much unless you start the code region with