[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/plz 5b00a61ce3 15/81: Rename functions
From: |
ELPA Syncer |
Subject: |
[elpa] externals/plz 5b00a61ce3 15/81: Rename functions |
Date: |
Wed, 11 May 2022 17:57:58 -0400 (EDT) |
branch: externals/plz
commit 5b00a61ce3f370153a5ebb4288481ab46ad162b2
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Rename functions
---
plz.el | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/plz.el b/plz.el
index 1e1a7bd5d7..675112c91b 100644
--- a/plz.el
+++ b/plz.el
@@ -217,11 +217,11 @@ HEADERS may be an alist of extra headers to send with the
request. CONNECT-TIMEOUT may be a number of seconds to timeout
the initial connection attempt."
(declare (indent defun))
- (plz--request 'get url
- :headers headers
- :connect-timeout connect-timeout
- :decode decode
- :as as :then then :else else))
+ (plz--curl 'get url
+ :headers headers
+ :connect-timeout connect-timeout
+ :decode decode
+ :as as :then then :else else))
(cl-defun plz-get-sync (url &key headers as
(connect-timeout plz-connect-timeout)
@@ -245,11 +245,11 @@ HEADERS may be an alist of extra headers to send with the
request. CONNECT-TIMEOUT may be a number of seconds to timeout
the initial connection attempt."
(declare (indent defun))
- (plz--request-sync 'get url
- :headers headers
- :connect-timeout connect-timeout
- :decode decode
- :as as))
+ (plz--curl-sync 'get url
+ :headers headers
+ :connect-timeout connect-timeout
+ :decode decode
+ :as as))
;;;;; Private
@@ -257,8 +257,8 @@ the initial connection attempt."
;; Functions for calling and handling curl processes.
-(cl-defun plz--request (_method url &key headers connect-timeout
- decode as then else)
+(cl-defun plz--curl (_method url &key headers connect-timeout
+ decode as then else)
"Get HTTP URL with curl.
AS selects the kind of result to pass to the callback function
@@ -321,8 +321,8 @@ the initial connection attempt."
plz-else else)
process))))
-(cl-defun plz--request-sync (_method url &key headers connect-timeout
- decode as)
+(cl-defun plz--curl-sync (_method url &key headers connect-timeout
+ decode as)
"Return result for HTTP request to URL made synchronously with curl.
AS selects the kind of result to return. It may be:
@@ -354,7 +354,7 @@ Uses `call-process' to call curl synchronously."
(list url)))
(status (apply #'call-process plz-curl-program nil t nil
curl-args))
- ;; THEn form copied from `plz--request'.
+ ;; THEn form copied from `plz--curl'.
;; TODO: DRY this. Maybe we could use a thread and a condition
variable, but...
(plz-then (pcase-exhaustive as
((or `nil 'string) (lambda ()
- [elpa] externals/plz 1d3efc036c 78/81: Add: (plz) DELETE method, (continued)
- [elpa] externals/plz 1d3efc036c 78/81: Add: (plz) DELETE method, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 9e308f1833 80/81: Meta: Tidy headers, etc. for ELPA, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 9156de9c59 81/81: Release: 0.1, ELPA Syncer, 2022/05/11
- [elpa] externals/plz bca0b3112b 20/81: Tidy, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 2b51ecd6be 27/81: Meta: Add test.yml for GitHub Actions, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 4f74be6565 30/81: Notes: Add idea, ELPA Syncer, 2022/05/11
- [elpa] externals/plz fbdcd69950 09/81: Changes, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 4588884c11 10/81: Changes, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 2c19b7f11d 11/81: Changes, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 6a21c7e809 12/81: Significant changes, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 5b00a61ce3 15/81: Rename functions,
ELPA Syncer <=
- [elpa] externals/plz 370d0bbc1a 21/81: Tidy, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 971077e1d3 23/81: Tests, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 30e48b1e6a 22/81: Tidy, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 05f93b0b6b 25/81: Meta: Update Makefile, makem.sh, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 19a0110109 33/81: Notes: Add ToC, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 9a1b119eff 38/81: Meta: Ignore sandbox/, ELPA Syncer, 2022/05/11
- [elpa] externals/plz 0301272d8d 40/81: Add: plz-put, ELPA Syncer, 2022/05/11
- [elpa] externals/plz a5f22b23e1 42/81: Add: (plz), ELPA Syncer, 2022/05/11
- [elpa] externals/plz 430ceffd1d 43/81: Change: Handle killed processes, ELPA Syncer, 2022/05/11
- [elpa] externals/plz f40d3ecbdd 47/81: Add/Change: :noquery argument for make-process, ELPA Syncer, 2022/05/11