diff --git a/modules/emacs/vc/config.el b/modules/emacs/vc/config.el index f9854c55f..1cd5bca25 100644 --- a/modules/emacs/vc/config.el +++ b/modules/emacs/vc/config.el @@ -1,5 +1,9 @@ ;;; emacs/vc/config.el -*- lexical-binding: t; -*- +;; Don't complain when these variables are set in file/local vars +(put 'git-commit-major-mode 'safe-local-variable 'symbolp) +(put 'git-commit-summary-max-length 'safe-local-variable 'symbolp) + (map! :when (fboundp 'bug-reference-mode) :map bug-reference-map "RET" (cmds! (and (bound-and-true-p evil-mode)