Skip to content
Prev Previous commit
Next Next commit
fix the cursor position after undo
  • Loading branch information
cxxxr committed Aug 6, 2023
commit accb0ee6d5dabb6b01593ab03605831a0a178fc4
1 change: 1 addition & 0 deletions extensions/lisp-mode/macrostep.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
:do (multiple-value-bind (start end)
(positions-to-points buffer start-pos end-pos)
(add-subform-overlay buffer (make-subform-overlay start end))))
(move-point (buffer-point buffer) start)
(unless is-mark
(buffer-unmark buffer)))))
t))
Expand Down