Make git-commit-{major-mode,summary-max-length} safe local vars

This commit is contained in:
Henrik Lissner 2020-11-29 14:04:38 -05:00
parent 3d53497cb7
commit 22b4462e18
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)