[Fix #782] Added magit-filenotify
This commit is contained in:
parent
92807a507c
commit
003bbc4e0b
2 changed files with 6 additions and 0 deletions
|
@ -76,6 +76,9 @@
|
|||
zenburn-theme)
|
||||
"A list of packages to ensure are installed at launch.")
|
||||
|
||||
(when (version<= "24.4" emacs-version)
|
||||
(add-to-list 'prelude-packages '(magit-filenotify)))
|
||||
|
||||
(defun prelude-packages-installed-p ()
|
||||
"Check if all packages in `prelude-packages' are installed."
|
||||
(every #'package-installed-p prelude-packages))
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue