diff options
| author | Noam Postavsky | 2019-04-15 20:38:15 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-04-19 15:19:10 -0400 |
| commit | 95bd56df883478bc16e25d7fc5e5d25a56278b7c (patch) | |
| tree | 49b417b0d7e96f74ea57f6da3192243fb2a29740 | |
| parent | 9997bbb3ee39fd57a51c263f4f17d2b15cead334 (diff) | |
| download | emacs-95bd56df883478bc16e25d7fc5e5d25a56278b7c.tar.gz emacs-95bd56df883478bc16e25d7fc5e5d25a56278b7c.zip | |
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." | |||
| 242 | "A marker that tracks the beginning of output of the last subprocess. | 242 | "A marker that tracks the beginning of output of the last subprocess. |
| 243 | Used only on systems which do not support async subprocesses.") | 243 | Used only on systems which do not support async subprocesses.") |
| 244 | 244 | ||
| 245 | (defvar eshell-needs-pipe '("bc") | 245 | (defvar eshell-needs-pipe |
| 246 | '("bc" | ||
| 247 | ;; xclip.el (in GNU ELPA) calls all of these with | ||
| 248 | ;; `process-connection-type' set to nil. | ||
| 249 | "pbpaste" "putclip" "xclip" "xsel" "wl-copy") | ||
| 246 | "List of commands which need `process-connection-type' to be nil. | 250 | "List of commands which need `process-connection-type' to be nil. |
| 247 | Currently only affects commands in pipelines, and not those at | 251 | Currently only affects commands in pipelines, and not those at |
| 248 | the front. If an element contains a directory part it must match | 252 | the front. If an element contains a directory part it must match |