From afd4b9d682f4937ed88d4136611f1801b9c47151 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Mon, 6 Nov 2017 14:11:41 -0500 Subject: Remove magit-diff-while-committing-no-select advice This is redundant as of Magit's 0fefe671 (magit-diff-while-committing: stay in message buffer, 2017-11-04). --- init.el | 8 -------- 1 file changed, 8 deletions(-) diff --git a/init.el b/init.el index 5f3eaaa..66a80a5 100644 --- a/init.el +++ b/init.el @@ -1023,14 +1023,6 @@ (magit-change-popup-key 'magit-branch-popup :action ?s ?v) - (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 -- cgit v1.2.3