Mark magit-todos-depth as safe local variable.
This commit is contained in:
parent
f43c6b5d43
commit
0198c88b1a
|
@ -1,6 +1,6 @@
|
|||
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
|
||||
|
||||
;; Time-stamp: <2019-12-29T00:04:25+0100>
|
||||
;; Time-stamp: <2019-12-31T12:57:30+0100>
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
|
@ -275,6 +275,10 @@
|
|||
(use-package magit-todos
|
||||
:after magit
|
||||
|
||||
:config
|
||||
;; Mark variables as safe. This prevents prompts when using .dir-locals.el.
|
||||
(put 'magit-todos-depth 'safe-local-variable #'integerp)
|
||||
|
||||
:hook
|
||||
(magit-mode . magit-todos-mode)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue