From: Lars Ingebrigtsen Date: Sat, 22 Jan 2022 15:44:25 +0000 (+0100) Subject: Mark nil vc-follow-symlinks as safe X-Git-Tag: emacs-29.0.90~2853 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1edde2fc7a1a82b0e65d2b7a4237e7c18d0bc0c1;p=emacs.git Mark nil vc-follow-symlinks as safe * lisp/vc/vc-hooks.el (vc-follow-symlinks): A nil value should be safe for file-local (bug#33264). --- diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index e71796b745b..9c49e947810 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -143,6 +143,7 @@ visited and a warning displayed." (const :tag "Visit link and warn" nil) (const :tag "Follow link" t)) :group 'vc) +(put 'vc-follow-symlinks 'safe-local-variable #'null) (defcustom vc-display-status t "If non-nil, display revision number and lock status in mode line.