From 5ae1a6c8a299bf5759dcd45df096cb6f157f5110 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 24 Jan 2012 19:07:04 -0500 Subject: [PATCH] * lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513) --- lisp/ChangeLog | 4 ++++ lisp/vc/vc.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7621cfe7404..a07d90969fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-01-25 Glenn Morris + + * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513) + 2012-01-24 Glenn Morris * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457) 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)))))) -- 2.39.2