aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMichael Albinus2017-08-24 15:53:56 +0200
committerMichael Albinus2017-08-24 15:53:56 +0200
commit0332a0ef2bbe6954f080cb6c9d3f0cc2517a1ab1 (patch)
treedd5db1d8637ddc8ac9f4653d012dced23816bf68 /lisp
parentfa5e63e40412f6152dbe079a766845112d598479 (diff)
downloademacs-0332a0ef2bbe6954f080cb6c9d3f0cc2517a1ab1.tar.gz
emacs-0332a0ef2bbe6954f080cb6c9d3f0cc2517a1ab1.zip
Minor improvements for tramp-interrupt-process, documentation
* doc/lispref/processes.texi (Signals to Processes): * etc/NEWS: Document interrupt-process-functions. * lisp/net/tramp.el (tramp-interrupt-process): Test also for `process-live-p'. * src/process.c (Vinterrupt_process_functions): Fix docstring. * test/lisp/net/tramp-tests.el (tramp-test28-interrupt-process): Extend test.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/net/tramp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 2aa9a6b9859..ef3e62ccce3 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -4393,7 +4393,7 @@ Only works for Bourne-like shells."
4393 (t process))) 4393 (t process)))
4394 pid) 4394 pid)
4395 ;; If it's a Tramp process, send the INT signal remotely. 4395 ;; If it's a Tramp process, send the INT signal remotely.
4396 (when (and (processp proc) 4396 (when (and (processp proc) (process-live-p proc)
4397 (setq pid (process-get proc 'remote-pid))) 4397 (setq pid (process-get proc 'remote-pid)))
4398 (tramp-message proc 5 "Interrupt process %s with pid %s" proc pid) 4398 (tramp-message proc 5 "Interrupt process %s with pid %s" proc pid)
4399 ;; This is for tramp-sh.el. Other backends do not support this (yet). 4399 ;; This is for tramp-sh.el. Other backends do not support this (yet).