summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2017-02-01 18:54:36 -0500
committerKyle Meyer <kyle@kyleam.com>2017-02-01 18:54:36 -0500
commit4017ad1bbb5ea1594227f2eca173982ce374b838 (patch)
tree852dcc98977f45465e7921d1bba6794b3e332317
parenta03ea0052e384eab54b0282023c8ba2adf54c56f (diff)
downloademacs.d-4017ad1bbb5ea1594227f2eca173982ce374b838.tar.gz
magit: Don't show diff when committing
-rw-r--r--init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.el b/init.el
index dff8f6d..9e6eef5 100644
--- a/init.el
+++ b/init.el
@@ -2174,6 +2174,8 @@
(use-package server
:config
+ (after 'magit-commit
+ (remove-hook 'server-switch-hook 'magit-commit-diff))
(setq server-use-tcp t)
(unless (server-running-p)
(server-start))