aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/esh-io.el
diff options
context:
space:
mode:
authorVibhav Pant2020-08-21 14:04:35 +0530
committerVibhav Pant2020-08-21 14:04:35 +0530
commitf0f8d7b82492e741950c363a03b886965c91b1b0 (patch)
tree19b716830b1ebabc0d7d75949c4e6800c0f104ad /lisp/eshell/esh-io.el
parent9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff)
parentc818c29771d3cb51875643b2f6c894073e429dd2 (diff)
downloademacs-feature/native-comp-macos-fixes.tar.gz
emacs-feature/native-comp-macos-fixes.zip
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
Diffstat (limited to 'lisp/eshell/esh-io.el')
-rw-r--r--lisp/eshell/esh-io.el7
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))