projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a855c5
)
* lisp/vc/vc.el (vc-revert): Use generate-new-buffer, not just new buffer name
author
Juri Linkov
<juri@linkov.net>
Tue, 28 Dec 2021 08:45:27 +0000
(10:45 +0200)
committer
Juri Linkov
<juri@linkov.net>
Tue, 28 Dec 2021 08:46:40 +0000
(10:46 +0200)
lisp/vc/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc/vc.el
b/lisp/vc/vc.el
index 64f752f248d2e1e82696d3cba064d6dc911e1695..ba94d908d101336805b4e2f5fa69569d27ee03a9 100644
(file)
--- a/
lisp/vc/vc.el
+++ b/
lisp/vc/vc.el
@@
-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.