Bump :tools magit
magit/magit@1c60edc -> magit/magit@4735b92 magit/forge@fa80a87 -> magit/forge@8382fd3 The same predicates are now specified in upstream magit, so there is no need to override `safe-local-variable'. Closes #4760 Co-authored-by: Nikita Bloshchanevich <nbfalcon@users.noreply.github.com>
This commit is contained in:
parent
6139ca2e37
commit
14eb254b4b
2 changed files with 2 additions and 9 deletions
|
@ -8,13 +8,6 @@
|
|||
(when IS-WINDOWS
|
||||
(setenv "GIT_ASKPASS" "git-gui--askpass"))
|
||||
|
||||
;; Don't complain when these variables are set in file/local vars
|
||||
(put 'git-commit-major-mode 'safe-local-variable
|
||||
(lambda (x)
|
||||
(memq x '(git-commit-elisp-text-mode
|
||||
text-mode fundamental-mode org-mode markdown-mode))))
|
||||
(put 'git-commit-summary-max-length 'safe-local-variable 'numberp)
|
||||
|
||||
;; In case the user is using `bug-reference-mode'
|
||||
(map! :when (fboundp 'bug-reference-mode)
|
||||
:map bug-reference-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue