diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-05-29 06:57:11 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-05-29 06:57:11 +0000 |
commit | d946933230b1576cd7ccb0aeb2b815e175eb46ed (patch) | |
tree | 6a2f21469e2fa14fa16b1083d519f41ddf9f5e49 /lisp | |
parent | 8ab3883afdd0f1ac4f4eee0ff49773b3739e1436 (diff) | |
download | emacs-d946933230b1576cd7ccb0aeb2b815e175eb46ed.tar.gz |
(edt-emulation-on): Handle absence of TERM envvar.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/emulation/edt.el | 2 |
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 ;; 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")) |