changeset 18022:85119f319971

(edt-emulation-on): Handle absence of TERM envvar.
author Richard M. Stallman <rms@gnu.org>
date Thu, 29 May 1997 06:57:11 +0000
parents 6f4f7470572b
children 12fc8bc96c58
files lisp/emulation/edt.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/edt.el	Thu May 29 06:41:34 1997 +0000
+++ b/lisp/emulation/edt.el	Thu May 29 06:57:11 1997 +0000
@@ -1485,7 +1485,7 @@
   ;; If using MS-DOS or Windows, need to load edt-pc.el
   (if (memq system-type '(ms-dos windows-nt))
       (setq edt-term "pc")
-    (setq edt-term (getenv "TERM")))
+    (setq edt-term (or (getenv "TERM") "")))
   ;; All DEC VT series terminals are supported by loading edt-vt100.el
   (if (string-equal "vt" (substring edt-term 0 (min (length edt-term) 2)))
       (setq edt-term "vt100"))