[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/request 43ff7865f9 2/2: Merge pull request #212 from sdwol
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/request 43ff7865f9 2/2: Merge pull request #212 from sdwolfz/native-compiler-warning |
Date: |
Sun, 11 Sep 2022 13:58:57 -0400 (EDT) |
branch: elpa/request
commit 43ff7865f9e0a67911f0f1dab462213089809f25
Merge: 91313f1e00 bb277bc25e
Author: dickmao <7578770+dickmao@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Merge pull request #212 from sdwolfz/native-compiler-warning
Fix emacs native compilation warning
---
request.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/request.el b/request.el
index 668c98b9f8..6fd872ae01 100644
--- a/request.el
+++ b/request.el
@@ -814,12 +814,12 @@ Currently it is used only for testing.")
(call-process request-curl nil t nil "--version")
(let ((version
(progn
- (setf (point) (point-min))
+ (goto-char (point-min))
(when (re-search-forward "[.0-9]+" nil t)
(match-string 0))))
(compression
(progn
- (setf (point) (point-min))
+ (goto-char (point-min))
(not (null (re-search-forward "libz\\>" nil t))))))
(setf (gethash request-curl request--curl-capabilities-cache)
`(:version ,version :compression ,compression)))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/request 43ff7865f9 2/2: Merge pull request #212 from sdwolfz/native-compiler-warning,
ELPA Syncer <=