emacs-devel
[Top][All Lists]
Advanced

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

Re: how to `register' vc-hg-region-history in vc-region-history?


From: Dmitry Gutov
Subject: Re: how to `register' vc-hg-region-history in vc-region-history?
Date: Thu, 18 Jan 2018 17:46:07 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0

On 1/18/18 17:27, Uwe Brauer wrote:

Hi

I just tried out a new function
(right now I don't care much about keybinding and font locking

So the function (defun vc-hg-region-history (file buffer lfrom lto)
Seems a natural generalization of vc-git-region-history  However I don't see how to tell vc-region-history to tell that the new function now exists. I tried to debug it


(defun vc-region-history (from to)    (vc-call region-history file buf lfrom lto)
And there vc aborts for HG. What do I miss?

You also need vc-hg-region-history-mode. vc-region-history calls it.



reply via email to

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