I am using magit (2.2.2) with emacs 25. magit is very good BUT I want the status dot in the modeline (like psvn does).
I try to use https://github.com/tsgates/git-emacs/blob/master/git-modeline.el with this configuration:
(autoload 'git--update-all-state-marks "git-modeline" nil t) (add-hook 'find-file-hook 'git-status-in-modeline) (defun git-status-in-modeline () (if (and vc-mode (string-match "^ Git" (substring-no-properties vc-mode))) (git--update-all-state-marks)))
When I open a file (under git) it doesn't work but if I do
(revert-buffer) it works. Why the second time but not the first ? Any Idea to progress ?
Thanks for any help.