We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e04563b + f840a72 commit 6fc1dcdCopy full SHA for 6fc1dcd
fsharp-mode-indent.el
@@ -1595,10 +1595,13 @@ This tells add-log.el how to find the current function/method/variable."
1595
(defun fsharp-beginning-of-block ()
1596
"Move point to the beginning of the current top-level block"
1597
(interactive)
1598
- (condition-case nil
1599
- (while (fsharp-goto-block-up 'no-mark))
1600
- (error (while (continuation-p)
1601
- (forward-line -1))))
+ (let ((prev (point)))
+ (condition-case nil
+ (while (progn (fsharp-goto-block-up 'no-mark)
+ (< (point) prev))
1602
+ (setq prev (point)))
1603
+ (error (while (continuation-p)
1604
+ (forward-line -1)))))
1605
(beginning-of-line))
1606
1607
(defun fsharp-end-of-block ()
0 commit comments