Subject: Re: bug#28066: eshell-tramp sudo ignores C-c

From: Eli Zaretskii <[email-masked]>
Date: Mon, 21 Aug 2017 17:34:44 +0300

> From: Michael Albinus <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Mon, 21 Aug 2017 13:36:06 +0200
> 
> > In such cases, we usually provide a variable whose value is a
> > function.  The default value is a function that does whatever
> > interrupt-process is doing now, and Tramp can replace it with its own
> > function.
> >
> > Does this make sense in your case?
> 
> What about the appended patch?

LGTM, but did you consider to define the variable in Lisp?