diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-11-20 12:10:38 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-11-20 12:10:38 +0200 |
commit | d46d67bef14cd0b9acb4f6a542e720ac34a0f51d (patch) | |
tree | 30ea6efd31c73d1f9632084be999b04e422a4c42 | |
parent | 0fcf8dca6ac736f48c57bf981e06767b52ebf38c (diff) | |
download | emacs-d46d67bef14cd0b9acb4f6a542e720ac34a0f51d.tar.gz |
; Avoid "Local Variables" popups in Emacs tree
* lisp/vc/vc.el (vc-prepare-patches-separately): Add an autoloaded
form for the 'safe-local-variable' property. (Bug#59384)
-rw-r--r-- | lisp/vc/vc.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 990b03b4c7e..fa3d58f770e 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el @@ -3347,6 +3347,8 @@ immediately after this one." (lambda (&rest args) (apply #'vc-user-edit-command (apply old args)))))) +;; This is used in .dir-locals.el in the Emacs source tree. +;;;###autoload (put 'vc-prepare-patches-separately 'safe-local-variable 'booleanp) (defcustom vc-prepare-patches-separately t "Whether `vc-prepare-patch' should generate a separate message for each patch. If nil, `vc-prepare-patch' creates a single email message by attaching |