From: Lars Ingebrigtsen Date: Tue, 18 Aug 2020 10:12:02 +0000 (+0200) Subject: Remove some compat code from esh-io.el X-Git-Tag: emacs-28.0.90~6560 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=75233e3ee088ba84d6935c559ee67a79ccf2477d;p=emacs.git Remove some compat code from esh-io.el * lisp/eshell/esh-io.el (eshell-set-output-handle): Remove check for null-device, which is always bound. --- 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'." "Set handle INDEX, using MODE, to point to TARGET." (when target (if (and (stringp target) - (or (cond - ((boundp 'null-device) - (string= target null-device)) - ((boundp 'grep-null-device) - (string= target grep-null-device)) - (t nil)) + (or (string= target null-device) (string= target "/dev/null"))) (aset eshell-current-handles index nil) (let ((where (eshell-get-target target mode))