]> git.eshelyaron.com Git - emacs.git/commit
Don't create GUI frames in batch sessions
authorJim Porter <jporterbugs@gmail.com>
Tue, 28 Feb 2023 19:35:21 +0000 (11:35 -0800)
committerJim Porter <jporterbugs@gmail.com>
Fri, 3 Mar 2023 17:25:22 +0000 (09:25 -0800)
commit2840895c1ae4f60c3b225dc1d75854fb09bca259
tree7273dc102662b6e96709e9439eaddb0175086b11
parent452b5ed1030f9ddb10744db76f23e83d434965e8
Don't create GUI frames in batch sessions

This resolves an issue with running test/lisp/server-tests.el when
'DISPLAY' is set: the tests would start the Emacs server in a batch
session, and then request a new GUI frame.  However, that caused the
tests to terminate with SIGIO, since a batch Emacs doesn't set a SIGIO
handler.

Ref: <https://lists.gnu.org/archive/html/emacs-devel/2023-02/msg00879.html>

* lisp/frame.el (make-frame): Always create a terminal frame in batch
sessions.
lisp/frame.el