1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

* lisp/vc/vc.el (vc-revert): Use generate-new-buffer, not just new buffer name

This commit is contained in:
Juri Linkov 2021-12-28 10:45:27 +02:00
parent 3a855c5dac
commit a17a11df04

View File

@ -2755,7 +2755,7 @@ to the working revision (except for keyword expansion)."
(unwind-protect
(when (if vc-revert-show-diff
(progn
(setq diff-buffer (generate-new-buffer-name "*vc-diff*"))
(setq diff-buffer (generate-new-buffer "*vc-diff*"))
(vc-diff-internal vc-allow-async-revert vc-fileset
nil nil nil diff-buffer))
;; Avoid querying the user again.