[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/plz e8eba6f090 3/5: Tidy: Use line-end-position instead
From: |
ELPA Syncer |
Subject: |
[elpa] externals/plz e8eba6f090 3/5: Tidy: Use line-end-position instead of point-at-eol |
Date: |
Sat, 31 Dec 2022 16:58:01 -0500 (EST) |
branch: externals/plz
commit e8eba6f0901321a40b00c45aa177e145606dddb2
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tidy: Use line-end-position instead of point-at-eol
Emacs 29 has helpfully obsoleted the latter, which causes compilation
linting failure on that version of Emacs, which causes the test suite
to fail.
---
plz.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plz.el b/plz.el
index d2866ff34f..116b4270ab 100644
--- a/plz.el
+++ b/plz.el
@@ -711,7 +711,7 @@ Assumes that point is at beginning of HTTP response."
(unless (looking-at plz-http-response-status-line-regexp)
(signal 'plz-http-error
(list "plz--response: Unable to parse HTTP response status line"
- (buffer-substring (point) (point-at-eol)))))
+ (buffer-substring (point) (line-end-position)))))
(let* ((http-version (string-to-number (match-string 1)))
(status-code (string-to-number (match-string 2)))
(headers (plz--headers))