From 8e71d3fbc959027e45e082862627cfa7d10b939f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 30 Sep 2014 21:53:15 -0400 Subject: Fix use of magit-find-file-hook --- lisp/init-git.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/init-git.el b/lisp/init-git.el index 99daf30..ae34bab 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -78,12 +78,13 @@ START-POINT set to the current branch. magit-popup-show-help-echo nil magit-popup-show-help-section nil magit-popup-use-prefix-argument 'default - magit-find-file-hook 'view-mode magit-log-show-margin nil) (setq vc-follow-symlinks t) (after 'magit + (add-hook 'magit-find-file-hook 'view-mode) + (define-key magit-popup-mode-map (kbd "SPC ") 'magit-invoke-popup-switch) (define-key magit-popup-mode-map (kbd "SPC SPC ") 'magit-invoke-popup-option) -- cgit v1.2.3