feat(lib): backport bol & eol from 29

Ref: emacs-mirror/emacs@f117b5df4d
This commit is contained in:
Henrik Lissner 2022-09-06 19:10:20 +02:00
parent 2b01166d1d
commit 338f59c456
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -851,5 +851,9 @@ and return the value found in PLACE instead."
,(funcall setter val)
,val)))))
;; Introduced in Emacs 29+ (emacs-mirror/emacs@f117b5df4dc6)
(defbackport! defalias 'bol #'line-beginning-position)
(defbackport! defalias 'eol #'line-end-position)
(provide 'doom-lib)
;;; doom-lib.el ends here