all repos — nixfiles @ c10711346f2fd2625a367e46d6818d9979420d63

System and user configuration, managed by nix and home-manager

Remove useless hook
Alan Pearce alan.pearce@spotcap.com
Fri, 29 Apr 2016 14:50:21 +0200
commit

c10711346f2fd2625a367e46d6818d9979420d63

parent

1a9745d944dcaba2f78a7f6a5ea732328e0f1bdc

1 files changed, 1 insertions(+), 4 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -401,10 +401,7 @@ :config (progn               (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