diff options
Diffstat (limited to 'lisp/eshell/esh-io.el')
| -rw-r--r-- | lisp/eshell/esh-io.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/eshell/esh-io.el b/lisp/eshell/esh-io.el index 0aa4ec4d16c..b4154861908 100644 --- a/lisp/eshell/esh-io.el +++ b/lisp/eshell/esh-io.el | |||
| @@ -382,12 +382,7 @@ it defaults to `insert'." | |||
| 382 | "Set handle INDEX, using MODE, to point to TARGET." | 382 | "Set handle INDEX, using MODE, to point to TARGET." |
| 383 | (when target | 383 | (when target |
| 384 | (if (and (stringp target) | 384 | (if (and (stringp target) |
| 385 | (or (cond | 385 | (or (string= target null-device) |
| 386 | ((boundp 'null-device) | ||
| 387 | (string= target null-device)) | ||
| 388 | ((boundp 'grep-null-device) | ||
| 389 | (string= target grep-null-device)) | ||
| 390 | (t nil)) | ||
| 391 | (string= target "/dev/null"))) | 386 | (string= target "/dev/null"))) |
| 392 | (aset eshell-current-handles index nil) | 387 | (aset eshell-current-handles index nil) |
| 393 | (let ((where (eshell-get-target target mode)) | 388 | (let ((where (eshell-get-target target mode)) |