[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vc: how to insert version number in buffer (vc-status is gone)
From: |
Uwe Brauer |
Subject: |
vc: how to insert version number in buffer (vc-status is gone) |
Date: |
Sat, 31 Jan 2009 10:16:48 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.21 (linux) |
Hello
In ancient times, vc had a function called
vc-status so it was possible to insert the vc version number into a
buffer with
(defun my-vc-status-insert ()
(interactive)
(insert "Version")
(insert (vc-status buffer-file-name)))
This came in handy, if the modeline is gluttered and the file is large
so it is cumbersome to go at the beginning to the buffer in order to
check the version number.
As I said vc-status is long gone so I would like to know how I could
insert the version number.
thanks
Uwe Brauer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- vc: how to insert version number in buffer (vc-status is gone),
Uwe Brauer <=