[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/plz 0cb20bc74d 03/40: Tidy
From: |
ELPA Syncer |
Subject: |
[elpa] externals/plz 0cb20bc74d 03/40: Tidy |
Date: |
Mon, 26 Jun 2023 06:59:31 -0400 (EDT) |
branch: externals/plz
commit 0cb20bc74d1b5ee961d62804c36b5dc966fc78db
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tidy
---
plz.el | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/plz.el b/plz.el
index 232823e6f9..c5ac63a4d3 100644
--- a/plz.el
+++ b/plz.el
@@ -405,7 +405,11 @@ NOQUERY is passed to `make-process', which see."
(decode (pcase as
('binary nil)
(_ decode)))
- (default-directory temporary-file-directory)
+ (default-directory
+ ;; Avoid making process in a nonexistent directory (in case the
current
+ ;; default-directory has since been removed). It's unclear what
the best
+ ;; directory is, but this seems to make sense, and it should still
exist.
+ temporary-file-directory)
(process-buffer (generate-new-buffer " *plz-request-curl*"))
(stderr-buffer (generate-new-buffer " *plz-request-curl-stderr*"))
(process (make-process :name "plz-request-curl"
@@ -427,13 +431,7 @@ NOQUERY is passed to `make-process', which see."
(process-put process :plz-result result)
(setf plz-result result))))
(with-current-buffer process-buffer
- ;; Avoid making process in a nonexistent directory (in case the current
- ;; default-directory has since been removed). It's unclear what the best
- ;; directory is, but this seems to make sense, and it should still exist.
- (let (
-
- ;; The THEN function is called in the response buffer.
- (then (pcase-exhaustive as
+ (let ((then (pcase-exhaustive as
((or 'binary 'string)
(lambda ()
(let ((coding-system (or (plz--coding-system) 'utf-8)))
- [elpa] externals/plz c786bbf7d2 35/40: Tidy/Comment, (continued)
- [elpa] externals/plz c786bbf7d2 35/40: Tidy/Comment, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 438162db4e 13/40: WIP: Add request args to sentinel error, ELPA Syncer, 2023/06/26
- [elpa] externals/plz a1f8a10b0b 16/40: Comment: Add FIXME, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 880223e7c0 22/40: Tidy: (plz--sentinel), ELPA Syncer, 2023/06/26
- [elpa] externals/plz 53ef6a16ce 26/40: Comment: Tidy, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 582f0c5bb8 31/40: Tests: Enable continue-on-error for linting, ELPA Syncer, 2023/06/26
- [elpa] externals/plz b896c41d71 32/40: Change: Generate buffer for STDERR, ELPA Syncer, 2023/06/26
- [elpa] externals/plz d2a7368699 37/40: Tidy: (plz) Don't switch to process-buffer, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 9319470060 38/40: Merge branch 'wip/no-signal-from-sentinel-as-timer', ELPA Syncer, 2023/06/26
- [elpa] externals/plz 5e63662e21 40/40: Docs: Update changelog, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 0cb20bc74d 03/40: Tidy,
ELPA Syncer <=
- [elpa] externals/plz e28b4e8b6a 06/40: Tidy, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 8f263bfd0f 09/40: Comment: Remove old TODO, ELPA Syncer, 2023/06/26
- [elpa] externals/plz c181fd1565 10/40: Tidy: Error handling in THEN function, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 4735c8333d 17/40: Fix: (plz) Signal error with data as list, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 260840d3e7 18/40: Change: (plz--respond) Rename from plz--timer, ELPA Syncer, 2023/06/26
- [elpa] externals/plz b04b466d79 19/40: Change: Signal plz-curl/http-error again, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 5a60113110 21/40: Comment: Add links to bug reports, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 96710ad323 23/40: Tidy, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 7edcd67472 27/40: Change: Set STDERR process and sentinel, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 3576b9820c 28/40: Tidy: Unused arguments, ELPA Syncer, 2023/06/26