mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
vc-dir--count-outgoing: Bind enable-local-variables
* lisp/vc/vc-dir.el (vc-dir--count-outgoing): Bind enable-local-variables (bug#81233). Do not merge to master.
This commit is contained in:
parent
e486f2d975
commit
e050c74581
|
|
@ -1433,7 +1433,13 @@ therefore also disable the fetching."
|
|||
|
||||
(defun vc-dir--count-outgoing (backend)
|
||||
"Call `vc--count-outgoing' with a delayed message and local quits."
|
||||
(let ((inhibit-quit t))
|
||||
(let ((inhibit-quit t)
|
||||
;; Hack for bug#81233 for the Emacs 30 release.
|
||||
(enable-local-variables
|
||||
(if (memq enable-local-variables '(:safe :all nil))
|
||||
enable-local-variables
|
||||
;; Ignore other values that query.
|
||||
:safe)))
|
||||
(prog1
|
||||
(with-local-quit
|
||||
(with-delayed-message
|
||||
|
|
|
|||
Loading…
Reference in a new issue