From 95bd56df883478bc16e25d7fc5e5d25a56278b7c Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Mon, 15 Apr 2019 20:38:15 -0400 Subject: [PATCH] Tell xclip not to expect job-control under eshell (Bug#35257) * lisp/eshell/esh-proc.el (eshell-needs-pipe): Add "xclip" and other programs that xclip.el (in GNU ELPA) calls with `process-connection-type' bound to nil. --- lisp/eshell/esh-proc.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index 33ec19ae36d..e5ccdf7f210 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el @@ -242,7 +242,11 @@ The prompt will be set to PROMPT." "A marker that tracks the beginning of output of the last subprocess. Used only on systems which do not support async subprocesses.") -(defvar eshell-needs-pipe '("bc") +(defvar eshell-needs-pipe + '("bc" + ;; xclip.el (in GNU ELPA) calls all of these with + ;; `process-connection-type' set to nil. + "pbpaste" "putclip" "xclip" "xsel" "wl-copy") "List of commands which need `process-connection-type' to be nil. Currently only affects commands in pipelines, and not those at the front. If an element contains a directory part it must match -- 2.39.5