Skip to content

Commit 9c21faa

Browse files
Fix loop termination: Also break when only whitespace before point
Fixes #187 (infinite loop)
1 parent 88bd9a5 commit 9c21faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsharp-mode-indent.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ This tells add-log.el how to find the current function/method/variable."
15271527
(back-to-indentation)
15281528
(while (and (or (looking-at fsharp-blank-or-comment-re)
15291529
(fsharp-in-literal-p))
1530-
(not (bobp)))
1530+
(not (eq (point-at-bol) (point-min))))
15311531
(backward-to-indentation 1))
15321532
(fsharp-goto-initial-line)
15331533

0 commit comments

Comments
 (0)