From: Stefan Kangas Date: Fri, 4 Dec 2020 09:57:04 +0000 (+0100) Subject: * lisp/eshell/esh-mode.el (eshell-mode): Remove XEmacs compat code. X-Git-Tag: emacs-28.0.90~4933 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3df49612c66416102eddcb030001b86920da9c17;p=emacs.git * lisp/eshell/esh-mode.el (eshell-mode): Remove XEmacs compat code. --- diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el index e2ec7101f3d..81d0ec249c2 100644 --- a/lisp/eshell/esh-mode.el +++ b/lisp/eshell/esh-mode.el @@ -325,10 +325,8 @@ and the hook `eshell-exit-hook'." (setq auto-fill-function nil) ;; always display everything from a return value - (if (boundp 'print-length) - (setq-local print-length nil)) - (if (boundp 'print-level) - (setq-local print-level nil)) + (setq-local print-length nil) + (setq-local print-level nil) ;; set require-final-newline to nil; otherwise, all redirected ;; output will end with a newline, whether or not the source