From: Amin Bandali Date: Mon, 9 Mar 2015 04:26:34 +0000 (-0400) Subject: [magit] show diff of changes when committing X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/7375f95870ef6c7cc6be53bba5478e3c348079c0 [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 --- 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