emacs-31 5d6a13136ad: server-tests/can-create-frames-p: Check for TERM=dumb-emacs-ansi

Sean Whitton <[email protected]> Fri, 3 Jul 2026 07:10:45 -0400 (EDT)
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: emacs-31
commit 5d6a13136ad4e870e36a48b44f1c4101eba9d8a3
Author: Sean Whitton <[email protected]>
Commit: Sean Whitton <[email protected]>

    server-tests/can-create-frames-p: Check for TERM=dumb-emacs-ansi
    
    * test/lisp/server-tests.el (server-tests/can-create-frames-p):
    Check for TERM=dumb-emacs-ansi.
---
 test/lisp/server-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/server-tests.el b/test/lisp/server-tests.el
index a96dc85074d..5e7938abf52 100644
--- a/test/lisp/server-tests.el
+++ b/test/lisp/server-tests.el
@@ -25,7 +25,8 @@
 
 (defconst server-tests/can-create-frames-p
   (and (not (memq system-type '(windows-nt ms-dos)))
-       (not (member (getenv "TERM") '("dumb" "" nil)))
+       (not (member (getenv "TERM")
+                    '("dumb" "dumb-emacs-ansi" "" nil)))
        (or (not (eq system-type 'cygwin))
            (featurep 'gfilenotify)
            (featurep 'dbus)