diff --git a/.aliases/command-specific/emacsclient b/.aliases/command-specific/emacsclient index 6f86af3..94ca28b 100644 --- a/.aliases/command-specific/emacsclient +++ b/.aliases/command-specific/emacsclient @@ -6,7 +6,5 @@ alias ec="e -c" alias ecn="ec -n" function magit() { - ecn -e '(progn (let ((old-frame (selected-frame))) - (magit-status "'"$(realpath ${1-.})"'") - (delete-frame old-frame)))' + ecn -e '(magit-status-no-new-window "'"$(realpath ${1-.})"'")' }