]> git.eshelyaron.com Git - emacs.git/commit
Cleanup when opening a new terminal fails. (Bug#32794)
authorJohn Shahid <jvshahid@gmail.com>
Fri, 21 Sep 2018 15:15:10 +0000 (11:15 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sat, 29 Sep 2018 06:30:01 +0000 (09:30 +0300)
commite8a4d942dd7305b85850603c97d987e52510a726
tree0dd2b34be970a561941680a370d98b546b63df51
parent9ad0f1d15c06eb07dfbd9bd3e3b8a0d747942152
Cleanup when opening a new terminal fails. (Bug#32794)

* src/term.c (init_tty): Call delete_terminal_internal if emacs_open
fail.
* src/terminal.c (delete_terminal): Move some code into
delete_terminal_internal and call it.
(delete_terminal_internal): New function.
* src/termhooks.h: Prototype for delete_terminal_internal.
src/term.c
src/termhooks.h
src/terminal.c