Emacs: Mark magit-todos-depth as safe in :init, not :config.
Because :config is executed after loading.
This commit is contained in:
parent
1bdb1ef830
commit
ec9a9c563d
|
@ -1,6 +1,6 @@
|
||||||
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
|
;;; git.el --- magit and stuff. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-03-27T17:09:45+0100>
|
;; Time-stamp: <2020-04-10T14:06:06+0200>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
(use-package magit-todos
|
(use-package magit-todos
|
||||||
:after magit
|
:after magit
|
||||||
|
|
||||||
:config
|
:init
|
||||||
;; Mark variables as safe. This prevents prompts when using .dir-locals.el.
|
;; Mark variables as safe. This prevents prompts when using .dir-locals.el.
|
||||||
(put 'magit-todos-depth 'safe-local-variable #'integerp)
|
(put 'magit-todos-depth 'safe-local-variable #'integerp)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user