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 - 2021-01-01 17:31:36 +01:00
parent b51153e587
commit 0fe34a99bb
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 2 additions and 1 deletions

View File

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