mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
feat(lib): backport bol & eol from 29
Ref: emacs-mirror/emacs@f117b5df4d
This commit is contained in:
@ -851,5 +851,9 @@ and return the value found in PLACE instead."
|
|||||||
,(funcall setter val)
|
,(funcall setter val)
|
||||||
,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)
|
(provide 'doom-lib)
|
||||||
;;; doom-lib.el ends here
|
;;; doom-lib.el ends here
|
||||||
|
Reference in New Issue
Block a user