feat(lib): backport bol & eol from 29
Ref: emacs-mirror/emacs@f117b5df4d
This commit is contained in:
parent
2b01166d1d
commit
338f59c456
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue