>>>> "Jeff" == Jeff Mincy
<jeff(a)delphioutpost.com> writes:
Jeff> On Wed, 26 Jan 2005, oub(a)mat.ucm.es wrote:
> When using vc mode (in my cases RCS) I can see the actual
version
> displayed in the modeline. What is the variable/command which control
> this number. I looked up in the code and could not find a relevant
> candidate. I would like to insert this number as a string at the head
> of the buffer.
Jeff> The function vc-mode-line updates the modeline, and uses
Jeff> (vc-backend buffer-file-name)
Jeff> (vc-status buffer-file-name)
this is precisely the function I was looking for (insert (vc-status
buffer-file-name)) works in a vc controlled file.
Thanks
Uwe