From 3b258bea741dc8550e49a6bbefa224c12a4fefc9 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Sat, 20 Feb 2021 04:04:40 +0900 Subject: [PATCH] Update --- emacs.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index 3569fbd..8f1d2ca 100644 --- a/emacs.el +++ b/emacs.el @@ -1777,7 +1777,7 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." (when (fboundp 'gited-list) (defalias 'gited 'gited-list)) -(when (require 'git-commit nil t) +(when (eval-and-compile (require 'git-commit nil t)) ;; git-commit is defined badly and breaks the convention that only loading a ;; library should not change the Emacs behavior: ;; anyway I enable this manually here.