Commit 40d578c9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals.

parent 71918b75
......@@ -82,11 +82,13 @@ HANDLE keyboard_handle;
/* Setting this as the ctrl handler prevents emacs from being killed when
* someone hits ^C in a 'suspended' session (child shell). */
someone hits ^C in a 'suspended' session (child shell).
Also ignore Ctrl-Break signals. */
BOOL
ctrl_c_handler (unsigned long type)
{
return (type == CTRL_C_EVENT) ? TRUE : FALSE;
return (type == CTRL_C_EVENT || type == CTRL_BREAK_EVENT);
}
/* If we're updating a frame, use it as the current frame
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment