emacs-devel
[Top][All Lists]
Advanced

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

Re: vc-revert-hook?


From: Stefan Monnier
Subject: Re: vc-revert-hook?
Date: Mon, 12 May 2008 13:03:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> > OK, thanks.  Would vc-revert-hook be the right way to solve the
>> > consequence of this, within Emacs at least, or is there some other way?
>> I don't know of any other way, tho I don't know vc-revert-hook either.
> I'm not sure what you mean here - vc-revert-hook does not exist.

That's exactly what I meant.

> Originally, I was suggesting that vc-revert-buffer run the new hook
> vc-revert-hook, in the same way as vc-next-action runs vc-checkin-hook
> or vc-checkout-hook.

Sounds OK.  Be careful to make it usable for filesets.  I.e. it'll
probably have to be a special hook taking the fileset as argument
(i.e. you can't call it vc-revert-hook but vc-revert-functions, or
maybe rather vc-after-revert-functions).


        Stefan





reply via email to

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