]> git.eshelyaron.com Git - emacs.git/commitdiff
(te-terminfo-systems-regexp): Variable deleted.
authorRichard M. Stallman <rms@gnu.org>
Fri, 6 Jan 1995 22:08:23 +0000 (22:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 6 Jan 1995 22:08:23 +0000 (22:08 +0000)
(te-create-terminfo): Use system-uses-terminfo.

lisp/terminal.el

index d5a89b7e49286a2f8b51f53d9c06423835a2eca7..618172a2b96f27e996495d0e6262b881e495a3d5 100644 (file)
@@ -162,12 +162,6 @@ performance.")
 ;; Required to support terminfo systems
 (defconst te-terminal-name-prefix "emacs-virtual")
 (defvar te-terminal-name nil)
-(defvar te-terminfo-systems-regexp "^[^-]*-[^-]*-\\(hpux\\|sysv\\)"
-  "Regexp to match system configurations for which we use terminfo.
-That means we provide a Terminfo terminal definition instead
-of a Termcap terminal definition, for the emulated terminal.
-On all other systems, we use termcap.")
-
 \f
 ;;;;  escape map
 
@@ -1227,7 +1221,7 @@ of the terminal-emulator"
 (defun te-create-terminfo ()
   "Create and compile a terminfo entry for the virtual terminal. This is kept 
 in the /tmp directory"
-  (if (and (string-match te-terminfo-systems system-configuration)
+  (if (and system-uses-terminfo
           (not (file-exists-p (concat  "/tmp/" 
                                        (substring te-terminal-name-prefix 0 1)
                                        "/" te-terminal-name))))