diff options
| author | Eli Zaretskii | 2016-09-05 19:50:59 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-09-05 19:50:59 +0300 |
| commit | cfaf18a27c262694750400005e882f1cfc7ff2b0 (patch) | |
| tree | cf5b3cb11a3dd8ba29f63d64163f5cdae7bd47b6 /etc | |
| parent | 62e4dc4660cb3b29cfffcad0639e51c7f382ced8 (diff) | |
| download | emacs-cfaf18a27c262694750400005e882f1cfc7ff2b0.tar.gz emacs-cfaf18a27c262694750400005e882f1cfc7ff2b0.zip | |
Treat SIGINT correctly in GUI sessions on MS-Windows
* src/w32proc.c (sys_signal): Don't reject SIGINT, as it is
supported by MS runtime.
* src/term.c (DEV_TTY): Move from here ...
* src/conf_post.h (DEV_TTY): ... to here. Separate definitions
for WINDOWSNT and for the rest.
* src/keyboard.c (handle_interrupt_signal): Use DEV_TTY instead of
a literal "/dev/tty".
* etc/NEWS: Mention the behavior change.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -607,6 +607,13 @@ still apply.) | |||
| 607 | Previously, on MS-Windows this function converted slash characters in | 607 | Previously, on MS-Windows this function converted slash characters in |
| 608 | file names into backslashes. It no longer does that. | 608 | file names into backslashes. It no longer does that. |
| 609 | 609 | ||
| 610 | ** GUI sessions now treat SIGINT like Posix platforms do. | ||
| 611 | The effect of delivering a Ctrl-C (SIGINT) signal to a GUI Emacs on | ||
| 612 | MS-Windows is now the same as on Posix platforms -- Emacs saves the | ||
| 613 | session and exits. In particular, this will happen if you start | ||
| 614 | emacs.exe from the Windows shell, then type Ctrl-C into that shell's | ||
| 615 | window. | ||
| 616 | |||
| 610 | 617 | ||
| 611 | * Installation Changes in Emacs 25.1 | 618 | * Installation Changes in Emacs 25.1 |
| 612 | 619 | ||