From 5db67dfa0916eb0a5dba3a9941716532053f5d4f Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 21 Feb 2023 14:14:32 +0900 Subject: [PATCH] Update configs for magit --- emacs.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/emacs.el b/emacs.el index 47a1653..ea7556a 100644 --- a/emacs.el +++ b/emacs.el @@ -1489,14 +1489,7 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (set-variable 'remember-notes-initial-major-mode 'change-log-mode) -(declare-function global-magit-file-mode "magit-files") -(with-eval-after-load 'magit-files - ;; `global-magit-file-mode' is enabled by default and this mode overwrites - ;; existing keybindings. - ;; Apparently it is a HARMFUL behavior and it is really awful that I have - ;; to disable thie mode here, but do anyway. - ;; See also https://github.com/magit/magit/issues/3517 - (global-magit-file-mode -1)) +(set-variable 'magit-define-global-key-bindings nil) (with-eval-after-load 'magit-section (set-face-background 'magit-section-highlight