emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 3df4961 2/2: * lisp/eshell/esh-mode.el (eshell-mode): Remove XEma


From: Stefan Kangas
Subject: master 3df4961 2/2: * lisp/eshell/esh-mode.el (eshell-mode): Remove XEmacs compat code.
Date: Fri, 4 Dec 2020 04:58:40 -0500 (EST)

branch: master
commit 3df49612c66416102eddcb030001b86920da9c17
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    * lisp/eshell/esh-mode.el (eshell-mode): Remove XEmacs compat code.
---
 lisp/eshell/esh-mode.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index e2ec710..81d0ec2 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]