Skip to content

Commit f643505

Browse files
Merge pull request #188 from juergenhoetzel/fix-invinite-loop
Fix loop termination: Also break when only whitespace before point
2 parents 88bd9a5 + 9c21faa commit f643505

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)