mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user