* vc.el complaint about reference to free variable `file'
@ 2007-12-19 9:46 martin rudalics
0 siblings, 0 replies; only message in thread
From: martin rudalics @ 2007-12-19 9:46 UTC (permalink / raw)
To: emacs-devel
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))))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-12-19 9:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-19 9:46 vc.el complaint about reference to free variable `file' martin rudalics
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.