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

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

[elpa] externals/phps-mode ddb21ac927 6/7: Fixed byte-compilation issues


From: Christian Johansson
Subject: [elpa] externals/phps-mode ddb21ac927 6/7: Fixed byte-compilation issues
Date: Sat, 21 May 2022 03:18:59 -0400 (EDT)

branch: externals/phps-mode
commit ddb21ac9272193e16c7716c3ee2dedc35a7d3dec
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Fixed byte-compilation issues
---
 phps-mode-serial.el | 52 ++++++++++++++++++++++++++--------------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/phps-mode-serial.el b/phps-mode-serial.el
index b718c33dbc..e1ca7ed76c 100644
--- a/phps-mode-serial.el
+++ b/phps-mode-serial.el
@@ -114,7 +114,7 @@
 
                     (lambda (start-return)
                       (let ((start-status (car start-return))
-                            (value (car (cdr start-return)))
+                            (start-value (car (cdr start-return)))
                             (start-time (car (cdr (cdr start-return))))
                             (end-return)
                             (quitted t))
@@ -137,7 +137,7 @@
                                     ;; Execute end lambda
                                     (condition-case conditions
                                         (progn
-                                          (let ((return (funcall end value)))
+                                          (let ((return (funcall end 
start-value)))
                                             (setq
                                              end-return
                                              (list 'success return 
start-time))))
@@ -167,13 +167,13 @@
                                         (with-current-buffer key
                                           (setq phps-mode-serial--status 
'error))
                                         (when end-error
-                                          (funcall end-error value)))))
+                                          (funcall end-error end-value)))))
 
                                 (when (string= start-status "error")
                                   (with-current-buffer key
                                     (setq phps-mode-serial--status 'error))
                                   (when start-error
-                                    (funcall start-error value))))
+                                    (funcall start-error start-value))))
 
                               (setq quitted nil))
                           (when quitted
@@ -244,16 +244,16 @@
                  (unwind-protect
                      (let ((start-return (thread-join async-thread))
                            (end-return))
-                       (let ((status (car start-return))
-                             (value (car (cdr start-return)))
+                       (let ((start-status (car start-return))
+                             (start-value (car (cdr start-return)))
                              (start-time (car (cdr (cdr start-return)))))
 
-                         (if (string= status "success")
+                         (if (string= start-status "success")
                              (progn
 
                                ;; Then execute end lambda
                                (condition-case conditions
-                                   (let ((return (funcall end value)))
+                                   (let ((return (funcall end start-value)))
                                      (setq
                                       end-return
                                       (list 'success return start-time)))
@@ -280,24 +280,24 @@
                                     "Serial asynchronous thread end finished, 
elapsed: %fs"
                                     elapsed)))
 
-                               (let ((status (car end-return))
-                                     (value (car (cdr end-return))))
+                               (let ((end-status (car end-return))
+                                     (end-value (car (cdr end-return))))
 
-                                 (when (string= status "success")
+                                 (when (string= end-status "success")
                                    (with-current-buffer key
                                      (setq phps-mode-serial--status 'success)))
 
-                                 (when (string= status "error")
+                                 (when (string= end-status "error")
                                    (with-current-buffer key
                                      (setq phps-mode-serial--status 'error))
                                    (when end-error
-                                     (funcall end-error value)))))
+                                     (funcall end-error end-value)))))
 
-                           (when (string= status "error")
+                           (when (string= start-status "error")
                              (with-current-buffer key
                                (setq phps-mode-serial--status 'error))
                              (when start-error
-                               (funcall start-error value)))))
+                               (funcall start-error start-value)))))
                        (setq quitted nil))
                    (when quitted
                      (with-current-buffer key
@@ -326,16 +326,16 @@
                        (elapsed (- end-time-float start-time-float)))
                   (message "Serial synchronous thread start finished, elapsed: 
%fs" elapsed)))
 
-              (let ((status (car start-return))
-                    (value (car (cdr start-return)))
+              (let ((start-status (car start-return))
+                    (start-value (car (cdr start-return)))
                     (start-time (car (cdr (cdr start-return)))))
 
-                (if (string= status "success")
+                (if (string= start-status "success")
                     (progn
 
                       ;; Then execute end lambda
                       (condition-case conditions
-                          (let ((return (funcall end value)))
+                          (let ((return (funcall end start-value)))
                             (setq end-return (list 'success return 
start-time)))
                         (error (setq end-return (list 'error conditions 
start-time))))
 
@@ -349,24 +349,24 @@
                                (elapsed (- end-time-float start-time-float)))
                           (message "Serial synchronous thread end finished, 
elapsed: %fs" elapsed)))
 
-                      (let ((status (car end-return))
-                            (value (car (cdr end-return))))
+                      (let ((end-status (car end-return))
+                            (end-value (car (cdr end-return))))
 
-                        (when (string= status "success")
+                        (when (string= end-status "success")
                           (with-current-buffer key
                             (setq phps-mode-serial--status 'success)))
 
-                        (when (string= status "error")
+                        (when (string= end-status "error")
                           (with-current-buffer key
                             (setq phps-mode-serial--status 'error))
                           (when end-error
-                            (funcall end-error value)))))
+                            (funcall end-error end-value)))))
 
-                  (when (string= status "error")
+                  (when (string= start-status "error")
                     (with-current-buffer key
                       (setq phps-mode-serial--status 'error))
                     (when start-error
-                      (funcall start-error value)))))
+                      (funcall start-error start-value)))))
               (setq quitted nil))
           (when quitted
             (with-current-buffer key



reply via email to

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