Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fstar-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -3485,9 +3485,9 @@ into blocks; process it as one large block instead."
((fstar-subp--in-tracked-region-p)
(fstar-subp-retract-until (point)))
((consp arg)
(fstar-subp-enqueue-until (point)))
(fstar-subp-enqueue-until (save-excursion (fstar-subp-next-block-start) (point))))
Copy link
Contributor

@cpitclaudel cpitclaudel May 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this case shouldn't change since it overrides the default block subdivision logic

(t
(fstar-subp-advance-until (point))))))
(fstar-subp-advance-until (save-excursion (fstar-subp-next-block-start) (point)))))))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the right API to call is fstar-subp--next-point-to-process


(defun fstar-subp-advance-or-retract-to-point-lax (&optional arg)
"Like `fstar-subp-advance-or-retract-to-point' with ARG, in lax mode."
Expand Down