[emacs] Disable git-gutter when running ediff

This commit is contained in:
Correl Roush 2013-08-07 13:18:32 -04:00
parent e4da12baf0
commit 8303454123

View file

@ -29,6 +29,15 @@
;; Git Gutter
(global-git-gutter-mode t)
(defadvice ediff-make-temp-file (before make-temp-file-suspend-ll
activate compile preactivate)
"Disable git-gutter when running ediff"
(global-git-gutter-mode 0))
(add-hook 'ediff-cleanup-hook
'(lambda ()
(global-git-gutter-mode t)))
;; Fixes an issue with ECB
;; (setq stack-trace-on-error t)