emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/plz 56c92ff78e 12/40: Tidy


From: ELPA Syncer
Subject: [elpa] externals/plz 56c92ff78e 12/40: Tidy
Date: Mon, 26 Jun 2023 06:59:32 -0400 (EDT)

branch: externals/plz
commit 56c92ff78e8ffb37f318fa44e8a7792196826831
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>

    Tidy
---
 plz.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/plz.el b/plz.el
index cec20a2b5e..6c655eb5d8 100644
--- a/plz.el
+++ b/plz.el
@@ -509,10 +509,9 @@ NOQUERY is passed to `make-process', which see."
                       (error "NO RESULT FROM PROCESS:%S  BUFFER-STRING:%S" 
process
                              (buffer-string))))
                   (pcase (process-get process :plz-result)
-                    ((pred plz-error-p)
-                     (signal 'plz-error (process-get process :plz-result)))
-                    (_
-                     (process-get process :plz-result))))
+                    ((and (pred plz-error-p) data)
+                     (signal 'plz-error data))
+                    (else else)))
               (unless (eq as 'buffer)
                 (kill-buffer process-buffer))
               (kill-buffer stderr-buffer))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]