From: Glenn Morris Date: Wed, 25 Jan 2012 00:07:04 +0000 (-0500) Subject: * lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513) X-Git-Tag: emacs-pretest-24.0.93~76 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ae1a6c8a299bf5759dcd45df096cb6f157f5110;p=emacs.git * lisp/vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513) --- 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))))))