mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
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
|
|
@ -633,7 +633,7 @@ See https://lists.gnu.org/r/emacs-devel/2007-11/msg01990.html")
|
|||
(when (looking-at regexp-hunk) ; Hunk header.
|
||||
(throw 'headerp (point)))
|
||||
(forward-line -1)
|
||||
(when (re-search-forward regexp-file (point-at-eol 4) t) ; File header.
|
||||
(when (re-search-forward regexp-file (line-end-position 4) t) ; File header.
|
||||
(forward-line 0)
|
||||
(throw 'headerp (point)))
|
||||
(goto-char orig)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue