Fix call to obsolete function in magit initialization

magit has been update in the wake of dash's update, and the function called here
does not seem to exist any longer.
This commit is contained in:
Daniel Borchmann 2021-01-01 17:31:36 +01:00
parent b51153e587
commit 0fe34a99bb
Signed by: exot
GPG Key ID: 1C7071A75BB72D64

View File

@ -1399,7 +1399,8 @@
:init (setq magit-diff-refine-hunk nil
magit-commit-show-diff nil)
:config (progn
(global-magit-file-mode -1)
(when (fboundp 'global-magit-file-mode)
(global-magit-file-mode -1))
(global-git-commit-mode +1)
(with-demoted-errors "Non-Fatal Error: %s"