From ec9a9c563d7a619b0522b42647585bfcc849526e Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 10 Apr 2020 14:06:21 +0200 Subject: [PATCH] Emacs: Mark magit-todos-depth as safe in :init, not :config. Because :config is executed after loading. --- init.d/programming/git.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.d/programming/git.el b/init.d/programming/git.el index 3f4b322..d594c72 100644 --- a/init.d/programming/git.el +++ b/init.d/programming/git.el @@ -1,6 +1,6 @@ ;;; 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: @@ -53,7 +53,7 @@ (use-package magit-todos :after magit - :config + :init ;; Mark variables as safe. This prevents prompts when using .dir-locals.el. (put 'magit-todos-depth 'safe-local-variable #'integerp)