[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: |
Mon, 31 Aug 2015 03:05:19 -0700 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
> > -(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.
Ok. The attached patch is updated to do just that. The only thing I
noticed was that after aliasing, vc-find-file-hook shows up in M-x since
the new function is interactive. The old one didn't, but I'm not sure
it's worth the effort to change it. If you think it is, I'll give it a
shot.
-David
0001-Rename-vc-find-file-hook-to-vc-refresh-state-and-obsolete.patch
Description: Text Data
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/27
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/27
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/27
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/29
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/29
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/29
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, David Caldwell, 2015/08/30
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/30
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer,
David Caldwell <=
- bug#21364: [PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer, Stefan Monnier, 2015/08/31