diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 20aa2dbd389..546c0128328 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -10302,7 +10302,7 @@ handle_interrupt (bool in_signal_handler) | |||
| 10302 | { | 10302 | { |
| 10303 | write_stdout ("Auto-save? (y or n) "); | 10303 | write_stdout ("Auto-save? (y or n) "); |
| 10304 | c = read_stdin (); | 10304 | c = read_stdin (); |
| 10305 | if ((c & 040) == 'Y') | 10305 | if (c == 'y' || c == 'Y') |
| 10306 | { | 10306 | { |
| 10307 | Fdo_auto_save (Qt, Qnil); | 10307 | Fdo_auto_save (Qt, Qnil); |
| 10308 | #ifdef MSDOS | 10308 | #ifdef MSDOS |
| @@ -10334,7 +10334,7 @@ handle_interrupt (bool in_signal_handler) | |||
| 10334 | write_stdout ("Abort (and dump core)? (y or n) "); | 10334 | write_stdout ("Abort (and dump core)? (y or n) "); |
| 10335 | #endif | 10335 | #endif |
| 10336 | c = read_stdin (); | 10336 | c = read_stdin (); |
| 10337 | if ((c & ~040) == 'Y') | 10337 | if (c == 'y' || c == 'Y') |
| 10338 | emacs_abort (); | 10338 | emacs_abort (); |
| 10339 | while (c != '\n') | 10339 | while (c != '\n') |
| 10340 | c = read_stdin (); | 10340 | c = read_stdin (); |