summaryrefslogtreecommitdiff
path: root/lisp/vc
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/vc.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index 6b15af4adf4..19da4102872 100644
--- a/lisp/vc/vc.el
+++ b/lisp/vc/vc.el
@@ -1880,7 +1880,8 @@ The headers are reset to their non-expanded form."
"Enter a replacement change comment."
"*vc-log*"
(lambda () (vc-call-backend backend 'log-edit-mode))
- (lexical-let ((rev rev))
+ (lexical-let ((rev rev)
+ (backend backend))
(lambda (files comment)
(vc-call-backend backend
'modify-change-comment files rev comment))))))