diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/keyboard.c | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dfcfaa8dde2..da16e6e58da 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2001-03-15 Gerd Moellmann <gerd@gnu.org> | 1 | 2001-03-15 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * keyboard.c (timer_check): Preserve the value of deactivate-mark. | ||
| 4 | (command_loop_1): Undo last change. | ||
| 5 | |||
| 3 | * xterm.c (fast_find_position): Return the correct vpos. | 6 | * xterm.c (fast_find_position): Return the correct vpos. |
| 4 | 7 | ||
| 5 | * data.c (store_symval_forwarding): Add parameter BUF. If BUF is | 8 | * data.c (store_symval_forwarding): Add parameter BUF. If BUF is |
diff --git a/src/keyboard.c b/src/keyboard.c index 02d923f33d3..3b774ea2753 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1479,10 +1479,6 @@ command_loop_1 () | |||
| 1479 | this variable differently. */ | 1479 | this variable differently. */ |
| 1480 | Vdisable_point_adjustment = Qnil; | 1480 | Vdisable_point_adjustment = Qnil; |
| 1481 | 1481 | ||
| 1482 | /* Process filters and timers may have messed with deactivate-mark. | ||
| 1483 | reset it before we execute the command. */ | ||
| 1484 | Vdeactivate_mark = Qnil; | ||
| 1485 | |||
| 1486 | /* Execute the command. */ | 1482 | /* Execute the command. */ |
| 1487 | 1483 | ||
| 1488 | Vthis_command = cmd; | 1484 | Vthis_command = cmd; |
| @@ -4021,17 +4017,18 @@ timer_check (do_it_now) | |||
| 4021 | if (NILP (vector[0])) | 4017 | if (NILP (vector[0])) |
| 4022 | { | 4018 | { |
| 4023 | int was_locked = single_kboard; | 4019 | int was_locked = single_kboard; |
| 4024 | int count = specpdl_ptr - specpdl; | 4020 | int count = BINDING_STACK_SIZE (); |
| 4021 | Lisp_Object old_deactivate_mark = Vdeactivate_mark; | ||
| 4025 | 4022 | ||
| 4026 | /* Mark the timer as triggered to prevent problems if the lisp | 4023 | /* Mark the timer as triggered to prevent problems if the lisp |
| 4027 | code fails to reschedule it right. */ | 4024 | code fails to reschedule it right. */ |
| 4028 | vector[0] = Qt; | 4025 | vector[0] = Qt; |
| 4029 | 4026 | ||
| 4030 | specbind (Qinhibit_quit, Qt); | 4027 | specbind (Qinhibit_quit, Qt); |
| 4031 | 4028 | ||
| 4032 | call1 (Qtimer_event_handler, chosen_timer); | 4029 | call1 (Qtimer_event_handler, chosen_timer); |
| 4030 | Vdeactivate_mark = old_deactivate_mark; | ||
| 4033 | timers_run++; | 4031 | timers_run++; |
| 4034 | |||
| 4035 | unbind_to (count, Qnil); | 4032 | unbind_to (count, Qnil); |
| 4036 | 4033 | ||
| 4037 | /* Resume allowing input from any kboard, if that was true before. */ | 4034 | /* Resume allowing input from any kboard, if that was true before. */ |