bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on


From: Stefan Monnier
Subject: bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer
Date: Sat, 29 Aug 2015 22:11:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> How about vc-buffer-refresh?

Hm... I think that makes it sound like it'll revert the buffer's content
or something.

How 'bout `vc-refresh-state'?

> Also, I was thinking maybe it would make more sense to rename
> vc-find-file-hook to vc-buffer-refresh (making it interactive along the
> way) and then doing:

> (add-hook 'find-file-hook 'vc-buffer-refresh)

If the two are really identical, then yes, it makes sense to just rename
the existing function and make it interactive.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]