|
From: | Stefan Monnier |
Subject: | bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer |
Date: | Sun, 30 Aug 2015 21:39:32 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Attached is a new patch that does just that (but calling the function > vc-refresh-state. Looks good, thanks. See comments below. > -(defun vc-find-file-hook () > - "Function for `find-file-hook' activating VC mode if appropriate." > +(defun vc-refresh-state () > + "Activate or deactivate VC mode as appropriate." > + (interactive) I think vc-find-file-hook is called from various other places, so please add an obsolete alias for the old name. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |