mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -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
|
|
@ -469,7 +469,7 @@ Return non-nil if it is necessary to update the local UIDL file."
|
|||
(delete-char -3)
|
||||
(if (eq (char-before) ?\))
|
||||
(insert ")\n ")
|
||||
(goto-char (1+ (point-at-bol)))
|
||||
(goto-char (1+ (line-beginning-position)))
|
||||
(delete-region (point) (point-max)))))
|
||||
(when (eq (char-before) ? )
|
||||
(delete-char -2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue