Merge pull request #791 from k1-hedayati/remove-filenotify

Revert "[Fix #782] Added magit-filenotify"
This commit is contained in:
Bozhidar Batsov 2015-01-19 22:46:42 +02:00
commit 2ca384b903
2 changed files with 0 additions and 6 deletions

View file

@ -74,9 +74,6 @@
zenburn-theme) zenburn-theme)
"A list of packages to ensure are installed at launch.") "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 () (defun prelude-packages-installed-p ()
"Check if all packages in `prelude-packages' are installed." "Check if all packages in `prelude-packages' are installed."
(every #'package-installed-p prelude-packages)) (every #'package-installed-p prelude-packages))

View file

@ -82,9 +82,6 @@ This functions should be added to the hooks of major modes for programming."
(add-hook 'prog-mode-hook (lambda () (add-hook 'prog-mode-hook (lambda ()
(run-hooks 'prelude-prog-mode-hook))) (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 ;; enable on-the-fly syntax checking
(if (fboundp 'global-flycheck-mode) (if (fboundp 'global-flycheck-mode)
(global-flycheck-mode +1) (global-flycheck-mode +1)