From 0fe34a99bb77e59c9d45dce92efd12c3981a4db9 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Fri, 1 Jan 2021 17:31:36 +0100 Subject: [PATCH] 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. --- init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 25439a7..87fcf1a 100644 --- a/init.el +++ b/init.el @@ -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"