From 7375f95870ef6c7cc6be53bba5478e3c348079c0 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 9 Mar 2015 00:26:34 -0400 Subject: [PATCH 1/1] [magit] show diff of changes when committing https://emacs.stackexchange.com/questions/3893/how-can-i-make-verbose-flag-be-enabled-by-default-in-magit-commit-screen --- spacemacs/.spacemacs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spacemacs/.spacemacs b/spacemacs/.spacemacs index b2e5392..bd4f130 100644 --- a/spacemacs/.spacemacs +++ b/spacemacs/.spacemacs @@ -123,6 +123,10 @@ layers configuration." " " (mode-io-correlate "%n:1:%t ") "%o")))) + + (advice-add #'magit-key-mode-popup-committing :after + (lambda () + (magit-key-mode-toggle-option (quote committing) "--verbose"))) ) ;; Do not write anything past this comment. This is where Emacs will -- 2.20.1