branch: elpa/helm
commit 9d57144786308058b53211f304e55454135a76d9
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Fix typo
    
    Use let* to ensure process-connection-type is bound.
---
 helm-packages.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/helm-packages.el b/helm-packages.el
index 8e0457b1331..e0e8af5de4e 100644
--- a/helm-packages.el
+++ b/helm-packages.el
@@ -333,10 +333,10 @@ PROVIDER can be one of \"melpa\", \"gnu\" or \"nongnu\"."
     (cl-assert (not (file-directory-p (expand-file-name name directory)))
                nil (format "Package already exists in %s" directory))
     (with-helm-default-directory directory
-      (let (process-connection-type
-            (proc (apply #'start-process
-                         "git" "*helm packages clone*"
-                         "git" switches)))
+      (let* (process-connection-type
+             (proc (apply #'start-process
+                          "git" "*helm packages clone*"
+                          "git" switches)))
         (save-selected-window
           (display-buffer (process-buffer proc)
                           '(display-buffer-below-selected

Reply via email to