aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-05-29 06:57:11 +0000
committerRichard M. Stallman1997-05-29 06:57:11 +0000
commitf1e13b4dd1e203e6902b78af0cebe03d9be5f53b (patch)
tree3f76cb361eefd0339017c683b819799688999446
parentd4cd7f7b0c4c596c6a27ab305cf91c185ac7c634 (diff)
downloademacs-f1e13b4dd1e203e6902b78af0cebe03d9be5f53b.tar.gz
emacs-f1e13b4dd1e203e6902b78af0cebe03d9be5f53b.zip
(edt-emulation-on): Handle absence of TERM envvar.
-rw-r--r--lisp/emulation/edt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index 18deb138d96..f03a2b8cf11 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -1485,7 +1485,7 @@ If FILE is nil, try to load a default file. The default file names are
1485 ;; If using MS-DOS or Windows, need to load edt-pc.el 1485 ;; If using MS-DOS or Windows, need to load edt-pc.el
1486 (if (memq system-type '(ms-dos windows-nt)) 1486 (if (memq system-type '(ms-dos windows-nt))
1487 (setq edt-term "pc") 1487 (setq edt-term "pc")
1488 (setq edt-term (getenv "TERM"))) 1488 (setq edt-term (or (getenv "TERM") "")))
1489 ;; All DEC VT series terminals are supported by loading edt-vt100.el 1489 ;; All DEC VT series terminals are supported by loading edt-vt100.el
1490 (if (string-equal "vt" (substring edt-term 0 (min (length edt-term) 2))) 1490 (if (string-equal "vt" (substring edt-term 0 (min (length edt-term) 2)))
1491 (setq edt-term "vt100")) 1491 (setq edt-term "vt100"))