refactor: replace point-at-{b,e}ol

These were deprecated in 29.1. We'll switch to pol-bol and pos-eol
if/when we drop 28.x support.
This commit is contained in:
Henrik Lissner
2025-01-05 00:53:32 -05:00
parent 7de9723334
commit 3f1a471127
7 changed files with 12 additions and 11 deletions

View File

@ -270,7 +270,7 @@ line to beginning of line. Same as `evil-delete-back-to-indentation'."
(funcall (if (fboundp 'evil-delete)
#'evil-delete
#'delete-region)
(point-at-bol) (point))
(line-beginning-position) (point))
(unless empty-line-p
(indent-according-to-mode))))