From df526791671aa562fb96a3dfa0f1ce5b8ac1fdbb Mon Sep 17 00:00:00 2001 From: Ravi R Kiran Date: Mon, 6 Mar 2017 18:57:22 -0800 Subject: Fix typo 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) -- cgit v0.10.1