summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-04-29 14:50:21 +0200
committerAlan Pearce2016-04-29 14:50:21 +0200
commitc10711346f2fd2625a367e46d6818d9979420d63 (patch)
tree73fe539e227b598730ac3979e5dc6f9deefaf603
parent1a9745d944dcaba2f78a7f6a5ea732328e0f1bdc (diff)
downloaddotfiles-c10711346f2fd2625a367e46d6818d9979420d63.tar.lz
dotfiles-c10711346f2fd2625a367e46d6818d9979420d63.tar.zst
dotfiles-c10711346f2fd2625a367e46d6818d9979420d63.zip
Remove useless hook
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 1 insertions, 4 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 452a734..320c601 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