summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <me@aminb.org>2015-03-09 00:26:34 -0400
committerAmin Bandali <me@aminb.org>2015-03-09 00:27:39 -0400
commit7375f95870ef6c7cc6be53bba5478e3c348079c0 (patch)
tree48557ad7e66f1c28b335f53465b214ad3dfd5cda
parent47f44a8dd4dbd8472f14d741869131c7a1059f88 (diff)
downloadconfigs-7375f95870ef6c7cc6be53bba5478e3c348079c0.tar.gz
configs-7375f95870ef6c7cc6be53bba5478e3c348079c0.tar.xz
configs-7375f95870ef6c7cc6be53bba5478e3c348079c0.zip
[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
Diffstat (limited to '')
-rw-r--r--spacemacs/.spacemacs4
1 files changed, 4 insertions, 0 deletions
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