branch: elpa/magit
commit 107e9015e69585e1b0fd551b5b95df6619bdd61c
Author: Jonas Bernoulli <[email protected]>
Commit: Jonas Bernoulli <[email protected]>
Revert "magit-diff-mode: Add diff-mode as an extra parent"
This reverts commit 1fc960183a1fc0d007d355b1bcd5698f00f77e42.
---
lisp/magit-diff.el | 3 ---
1 file changed, 3 deletions(-)
diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el
index 97d333f528e..baefff37380 100644
--- a/lisp/magit-diff.el
+++ b/lisp/magit-diff.el
@@ -2050,9 +2050,6 @@ Staging and applying changes is documented in info node
(put 'magit-diff-mode 'magit-diff-default-arguments
'("--stat" "--no-ext-diff"))
-(when (fboundp 'derived-mode-add-parents)
- (derived-mode-add-parents 'magit-diff-mode '(diff-mode)))
-
(defun magit-diff-setup-buffer ( range typearg args files
&optional type locked)
(require 'magit)