Mercurial > emacs
comparison src/keyboard.c @ 90737:95d0cdf160ea
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 586-614)
- Update from CVS
- Update from erc--emacs--22
- Merge from gnus--rel--5.10
- Merge from erc--main--0
- Make byte compiler correctly write circular constants
* gnus--rel--5.10 (patch 186-196)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 26 Jan 2007 06:16:11 +0000 |
parents | bc10a33dd40b 3d45362f1d38 |
children | f83d17e1ace6 |
comparison
equal
deleted
inserted
replaced
90736:ef1369583937 | 90737:95d0cdf160ea |
---|---|
1 /* Keyboard and mouse input; editor command loop. | 1 /* Keyboard and mouse input; editor command loop. |
2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, | 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, |
3 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, | 3 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, |
4 2005, 2006 Free Software Foundation, Inc. | 4 2005, 2006, 2007 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GNU Emacs. | 6 This file is part of GNU Emacs. |
7 | 7 |
8 GNU Emacs is free software; you can redistribute it and/or modify | 8 GNU Emacs is free software; you can redistribute it and/or modify |
9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
9284 | 9284 |
9285 if (CONSP (start) && POSN_INBUFFER_P (start)) | 9285 if (CONSP (start) && POSN_INBUFFER_P (start)) |
9286 { | 9286 { |
9287 pos = POSN_BUFFER_POSN (start); | 9287 pos = POSN_BUFFER_POSN (start); |
9288 if (INTEGERP (pos) | 9288 if (INTEGERP (pos) |
9289 && XINT (pos) >= BEG && XINT (pos) <= Z) | 9289 && XINT (pos) >= BEGV |
9290 && XINT (pos) <= ZV) | |
9290 { | 9291 { |
9291 map_here = get_local_map (XINT (pos), | 9292 map_here = get_local_map (XINT (pos), |
9292 current_buffer, Qlocal_map); | 9293 current_buffer, Qlocal_map); |
9293 if (!EQ (map_here, orig_local_map)) | 9294 if (!EQ (map_here, orig_local_map)) |
9294 { | 9295 { |
11017 kbd_store_ptr = kbd_buffer; | 11018 kbd_store_ptr = kbd_buffer; |
11018 #ifdef HAVE_MOUSE | 11019 #ifdef HAVE_MOUSE |
11019 do_mouse_tracking = Qnil; | 11020 do_mouse_tracking = Qnil; |
11020 #endif | 11021 #endif |
11021 input_pending = 0; | 11022 input_pending = 0; |
11023 interrupt_input_blocked = 0; | |
11024 interrupt_input_pending = 0; | |
11022 | 11025 |
11023 /* This means that command_loop_1 won't try to select anything the first | 11026 /* This means that command_loop_1 won't try to select anything the first |
11024 time through. */ | 11027 time through. */ |
11025 internal_last_event_frame = Qnil; | 11028 internal_last_event_frame = Qnil; |
11026 Vlast_event_frame = internal_last_event_frame; | 11029 Vlast_event_frame = internal_last_event_frame; |