fix: rename {b,e}ol functions to pos-{b,e}ol

These two functions were introduced in emacs-mirror/emacs@f117b5df4d
as `bol` and `eol`, but were renamed to `pos-bol` and `pos-eol` in
emacs-mirror/emacs@2614e53216.

Close: #8242
This commit is contained in:
Henrik Lissner
2025-01-14 13:52:41 -05:00
parent 93ef81bfd4
commit 373b7aa976
5 changed files with 10 additions and 9 deletions

View File

@ -105,9 +105,10 @@ and return the value found in PLACE instead."
,(funcall setter val)
,val))))))
;; Introduced in emacs-mirror/emacs@f117b5df4dc6
(unless (fboundp 'bol) (defalias 'bol #'line-beginning-position))
(unless (fboundp 'eol) (defalias 'eol #'line-end-position))
;; Introduced in emacs-mirror/emacs@f117b5df4dc6, renamed to pos-* in
;; emacs-mirror/emacs@2614e5321639
(unless (fboundp 'pos-bol) (defalias 'pos-bol #'line-beginning-position))
(unless (fboundp 'pos-eol) (defalias 'pos-eol #'line-end-position))
;; Introduced in Emacs 29+
(unless (boundp 'major-mode-remap-alist)