From c10711346f2fd2625a367e46d6818d9979420d63 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 29 Apr 2016 14:50:21 +0200 Subject: Remove useless hook --- tag-emacs/emacs.d/init.org | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tag-emacs/emacs.d/init.org') diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org index 452a7347..320c6015 100644 --- a/tag-emacs/emacs.d/init.org +++ b/tag-emacs/emacs.d/init.org @@ -401,10 +401,7 @@ changed. This package colours the fringe (global-diff-hl-mode 1) (add-hook 'dired-mode-hook (lambda () (diff-hl-dired-mode 1))) - (add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh) - (add-hook 'magit-refresh-buffer-hook (lambda () - (message "test: %s" (buffer-file-name)) - (buffer-file-name))))) + (add-hook 'magit-post-refresh-hook #'diff-hl-magit-post-refresh))) #+END_SRC ** magit -- cgit 1.4.1