diff options
-rw-r--r-- | init.el | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -987,6 +987,15 @@ (km/magit-mode-kill-hidden 'magit-diff-mode)) '((name . "magit-diff-kill-previous"))) + + (advice-add + 'magit-diff-while-committing + :around + (lambda (fn &rest args) + (let ((magit-display-buffer-noselect t)) + (apply fn args))) + '((name . "magit-diff-while-committing-no-select"))) + (advice-add 'magit-generate-buffer-name-default-function :around |