diff options
| -rw-r--r-- | lisp/ravi-init-vc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ravi-init-vc.el b/lisp/ravi-init-vc.el index 8ddba5c..da864ca 100644 --- a/lisp/ravi-init-vc.el +++ b/lisp/ravi-init-vc.el @@ -43,8 +43,8 @@ (defun ravi/sync-top-level () (when (and (boundp 'ravi/sync-top-level-host) - (not (s-equals? (car s-split-up-to "\\." (system-name) 1) - (car s-split-up-to "\\." ravi/sync-top-level-host 1)))) + (not (s-equals? (car (s-split-up-to "\\." (system-name) 1)) + (car (s-split-up-to "\\." ravi/sync-top-level-host 1))))) (message "Synchronizing with %s" ravi/sync-top-level-host) (shell-command (concat "rsync -a " (magit-toplevel) " " ravi/sync-top-level-host ":" (magit-toplevel))))) (add-hook 'magit-post-refresh-hook 'ravi/sync-top-level) |
