Fix for Emacs 24.4

However it supports only git.