aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-06 22:08:23 +0000
committerRichard M. Stallman1995-01-06 22:08:23 +0000
commit2fe99fe682fc945ab4511eca090ba0c837e3aee0 (patch)
tree3ba569a8ef7879e261b85d711a9ba390140146be
parentfa59ceb3f1108d10f9b00c25fc4e7f5b72df5574 (diff)
downloademacs-2fe99fe682fc945ab4511eca090ba0c837e3aee0.tar.gz
emacs-2fe99fe682fc945ab4511eca090ba0c837e3aee0.zip
(te-terminfo-systems-regexp): Variable deleted.
(te-create-terminfo): Use system-uses-terminfo.
-rw-r--r--lisp/terminal.el8
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/terminal.el b/lisp/terminal.el
index d5a89b7e492..618172a2b96 100644
--- a/lisp/terminal.el
+++ b/lisp/terminal.el
@@ -162,12 +162,6 @@ performance.")
162;; Required to support terminfo systems 162;; Required to support terminfo systems
163(defconst te-terminal-name-prefix "emacs-virtual") 163(defconst te-terminal-name-prefix "emacs-virtual")
164(defvar te-terminal-name nil) 164(defvar te-terminal-name nil)
165(defvar te-terminfo-systems-regexp "^[^-]*-[^-]*-\\(hpux\\|sysv\\)"
166 "Regexp to match system configurations for which we use terminfo.
167That means we provide a Terminfo terminal definition instead
168of a Termcap terminal definition, for the emulated terminal.
169On all other systems, we use termcap.")
170
171 165
172;;;; escape map 166;;;; escape map
173 167
@@ -1227,7 +1221,7 @@ of the terminal-emulator"
1227(defun te-create-terminfo () 1221(defun te-create-terminfo ()
1228 "Create and compile a terminfo entry for the virtual terminal. This is kept 1222 "Create and compile a terminfo entry for the virtual terminal. This is kept
1229in the /tmp directory" 1223in the /tmp directory"
1230 (if (and (string-match te-terminfo-systems system-configuration) 1224 (if (and system-uses-terminfo
1231 (not (file-exists-p (concat "/tmp/" 1225 (not (file-exists-p (concat "/tmp/"
1232 (substring te-terminal-name-prefix 0 1) 1226 (substring te-terminal-name-prefix 0 1)
1233 "/" te-terminal-name)))) 1227 "/" te-terminal-name))))