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:
parent
3a855c5dac
commit
a17a11df04
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user