Using git with emacs
问题 I am trying to configure git.el. When i do git-status i can see the status buffer with changed i can also add files using 'a' but when i try to commit a file using c writing the commit log and finishing it with C-c C-c gives me env: git: No such file or directory error and file is not committed. I am using emacs 23 on OS X. The only customization i added to my .emacs is (setq exec-path (append exec-path '("/opt/local/bin")) ) because emacs failed to find git executable. 回答1: In my .emacs for