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.
This commit is contained in:
Sean Whitton 2026-07-03 12:10:29 +01:00
parent a07abfc6bc
commit 5d6a13136a

View file

@ -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)