fixes emacs/git issues