GNU bug report logs - #21364
[PATCH] Add vc-activate (interactive) to activate VC mode on the current buffer

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Thu, 27 Aug 2015 18:34:02 UTC

Severity: wishlist

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: David Caldwell <david <at> porkrind.org>
Cc: 21364 <at> debbugs.gnu.org
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
> 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




This bug report was last modified 9 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.