Eli Zaretskii writes: Hi Eli, > 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? Best regards, Michael.