Make point-at-eol and point-at-bol obsolete
* lisp/subr.el (point-at-eol, point-at-bol): Make XEmacs compat aliases obsolete in favor of `pos-bol'/'line-beginning-position' or 'pos-eol'/'line-end-position'. Update callers. Ref: https://lists.gnu.org/r/emacs-devel/2022-08/msg00853.html
This commit is contained in:
parent
e425b7d231
commit
b7e867b841
134 changed files with 586 additions and 550 deletions
|
@ -1235,7 +1235,8 @@ Order is by depth-first search."
|
|||
(let (new-l new-c)
|
||||
(save-excursion
|
||||
(goto-char offset)
|
||||
(setq new-l (1+ (count-lines (point-min) (point-at-bol)))
|
||||
(setq new-l (1+ (count-lines (point-min)
|
||||
(line-beginning-position)))
|
||||
new-c (1+ (current-column)))
|
||||
(format "%d:%d:" new-l new-c))))
|
||||
""))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue