vc-log-internal-common: Kill all local variables
* lisp/vc/vc.el (vc-log-internal-common): Kill all local variables, even permanent-local ones (bug#44698).
This commit is contained in:
parent
9bb2fe22db
commit
a546225e1a
1 changed files with 3 additions and 0 deletions
|
@ -2990,6 +2990,9 @@ Each function runs in the log output buffer without args.")
|
|||
rev-buff-func)
|
||||
(let (retval (buffer (get-buffer-create buffer-name)))
|
||||
(with-current-buffer buffer
|
||||
;; Ensure we drop any directory-local variables from the last
|
||||
;; directory from which a log buffer was generated (bug#44698).
|
||||
(kill-all-local-variables 'kill-permanent)
|
||||
(setq-local vc-log-view-type type))
|
||||
(setq retval (funcall backend-func backend buffer-name type files))
|
||||
(with-current-buffer buffer
|
||||
|
|
Loading…
Add table
Reference in a new issue