branch: externals/ssh-deploy
commit 16a22f49d969c840073cd37e7a76c69ea9d67607
Author: Christian Johansson <christ...@cvj.se>
Commit: Christian Johansson <christ...@cvj.se>

    More (when (not to (unless conversions
---
 ssh-deploy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ssh-deploy.el b/ssh-deploy.el
index b20a262..a4adb51 100644
--- a/ssh-deploy.el
+++ b/ssh-deploy.el
@@ -327,8 +327,8 @@
 
 (defun ssh-deploy--mode-line-status-update (&optional status)
   "Update the local status text variable to a text representation based on 
STATUS."
-  (when (or (not (boundp 'status))
-            (not status))
+  (unless (or (boundp 'status)
+              (not status))
     ;; (message "SSH Deploy -Resetting status: %s" status)
     (setq status ssh-deploy--status-undefined))
   (let ((status-text ""))

Reply via email to