[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59384: 29.0.50; Visiting files in Emacs Git pops up "unsafe variable
From: |
Eli Zaretskii |
Subject: |
bug#59384: 29.0.50; Visiting files in Emacs Git pops up "unsafe variable" prompt |
Date: |
Sat, 19 Nov 2022 21:40:41 +0200 |
> From: Juri Linkov <juri@linkov.net>
> Cc: 59384@debbugs.gnu.org
> Date: Sat, 19 Nov 2022 20:49:50 +0200
>
> > vc-git-annotate-switches : "-w"
> > bug-reference-url-format : "https://debbugs.gnu.org/%s"
> > diff-add-log-use-relative-names : t
> > * vc-prepare-patches-separately : nil
> > c-file-style : "GNU"
> > c-noise-macro-names : ("INLINE" "NO_INLINE"
> > "ATTRIBUTE_NO_SANITIZE_UNDEFINED" "UNINIT" "CALLBACK" "ALIGN_STACK")
> > electric-quote-comment : nil
> > electric-quote-string : nil
> > indent-tabs-mode : t
> > mode : bug-reference-prog
> >
> > The problem here AFAIU is that vc-prepare-patches-separately and its
> > 'safep' property is not known to Emacs until vc.el is loaded.
> >
> > One way of fixing this would be to autoload the defcustom of this
> > variable, but AFAIR this is sometimes frowned upon?
>
> Is there a standard solution already worked out for existing
> variables like `vc-git-annotate-switches'?
Maybe it is, but if so, I'm not aware of it.
Stefan, any advice?