diff options
author | Noam Postavsky <npostavs@gmail.com> | 2019-04-15 20:38:15 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2019-04-19 15:19:10 -0400 |
commit | 95bd56df883478bc16e25d7fc5e5d25a56278b7c (patch) | |
tree | 49b417b0d7e96f74ea57f6da3192243fb2a29740 | |
parent | 9997bbb3ee39fd57a51c263f4f17d2b15cead334 (diff) | |
download | emacs-95bd56df883478bc16e25d7fc5e5d25a56278b7c.tar.gz |
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.
-rw-r--r-- | lisp/eshell/esh-proc.el | 6 |
1 files changed, 5 insertions, 1 deletions
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 |