[Fix ] Added magit-filenotify

This commit is contained in:
k1-hedayati 2015-01-15 11:22:11 +03:30
parent 92807a507c
commit 003bbc4e0b
2 changed files with 6 additions and 0 deletions

View file

@ -82,6 +82,9 @@ This functions should be added to the hooks of major modes for programming."
(add-hook 'prog-mode-hook (lambda ()
(run-hooks 'prelude-prog-mode-hook)))
(when (version<= "24.4" emacs-version)
(add-hook 'magit-status-mode-hook (lambda () (magit-filenotify-mode 1))))
;; enable on-the-fly syntax checking
(if (fboundp 'global-flycheck-mode)
(global-flycheck-mode +1)