summaryrefslogtreecommitdiff
path: root/lisp/vc
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-01-24 19:07:04 -0500
committerGlenn Morris <rgm@gnu.org>2012-01-24 19:07:04 -0500
commit5ae1a6c8a299bf5759dcd45df096cb6f157f5110 (patch)
treee4c42f5cc5cdcd75c0c75d692a36c976ba4cba4e /lisp/vc
parentb559f1a908a1d158cdfab196d96ccc1bbabd2e02 (diff)
downloademacs-5ae1a6c8a299bf5759dcd45df096cb6f157f5110.tar.gz
* lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
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))))))