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: David Caldwell
Subject: bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer
Date: Sun, 30 Aug 2015 03:22:07 -0700
User-agent: Mutt/1.5.23 (2014-03-12)

> How 'bout `vc-refresh-state'?

That sounds good to me.

> > 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.

Attached is a new patch that does just that (but calling the function
vc-refresh-state.

-David

Attachment: 0001-Rename-vc-find-file-hook-to-vc-refresh-state.patch
Description: Text Data


reply via email to

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