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

@ -66,7 +66,7 @@ Intended to replace `lisp-outline-level'."
(re-search-backward
"\\_<:\\(?:\\sw\\|\\s_\\)+\\_>" ;; Find a keyword.
doom-start 'noerror))
(unless (looking-back "(" (bol))
(unless (looking-back "(" (pos-bol))
(let ((kw-syntax (syntax-ppss)))
(when (and (= (ppss-depth kw-syntax) doom-depth)
(not (ppss-string-terminator kw-syntax))