summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-29 06:57:11 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-29 06:57:11 +0000
commitd946933230b1576cd7ccb0aeb2b815e175eb46ed (patch)
tree6a2f21469e2fa14fa16b1083d519f41ddf9f5e49 /lisp
parent8ab3883afdd0f1ac4f4eee0ff49773b3739e1436 (diff)
downloademacs-d946933230b1576cd7ccb0aeb2b815e175eb46ed.tar.gz
(edt-emulation-on): Handle absence of TERM envvar.
Diffstat (limited to 'lisp')
-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
;; 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"))