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.
The function vc-mode-line updates the modeline, and uses
(vc-backend buffer-file-name)
(vc-status buffer-file-name)
If you are using rcs or cvs you can use $Id keyword expansion.
-jeff