|
| From: | martin rudalics |
| Subject: | vc.el complaint about reference to free variable `file' |
| Date: | Wed, 19 Dec 2007 10:46:27 +0100 |
| User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
When compiling vc.el I get the complaint
In vc-next-action:
vc.el:1510:70:Warning: reference to free variable `file'
IIUC the offending occurrence is the "file" below:
((stringp state)
(let ((revision
(if verbose
(read-string "Revision to steal: ")
(vc-working-revision file))))
^^^^
(dolist (file files) (vc-steal-lock file revision state))))
Also a ChangeLog entry is missing for this change in revision 1.492:
- (let ((bname (if fname (get-file-buffer fname) buffer-file-name)))
+ (let ((bname (if fname (get-file-buffer fname) (current-buffer))))
| [Prev in Thread] | Current Thread | [Next in Thread] |