Mercurial > hg > xemacs-beta
comparison src/event-stream.c @ 2862:b95fe16005fd
[xemacs-hg @ 2005-07-17 20:08:40 by aidan]
Restore the last argument to event-to-character, document that it's unused.
author | aidan |
---|---|
date | Sun, 17 Jul 2005 20:08:48 +0000 |
parents | d7505a1267a4 |
children | facf3239ba30 |
comparison
equal
deleted
inserted
replaced
2861:cf9f69706740 | 2862:b95fe16005fd |
---|---|
2360 /* last-input-char and last-input-time are derived from | 2360 /* last-input-char and last-input-time are derived from |
2361 last-input-event. | 2361 last-input-event. |
2362 Note that last-input-char will never have its high-bit set, in an | 2362 Note that last-input-char will never have its high-bit set, in an |
2363 effort to sidestep the ambiguity between M-x and oslash. | 2363 effort to sidestep the ambiguity between M-x and oslash. |
2364 */ | 2364 */ |
2365 Vlast_input_char = Fevent_to_character (Vlast_input_event, Qnil, Qnil); | 2365 Vlast_input_char = Fevent_to_character (Vlast_input_event, Qnil, Qnil, Qnil); |
2366 { | 2366 { |
2367 EMACS_TIME t; | 2367 EMACS_TIME t; |
2368 EMACS_GET_TIME (t); | 2368 EMACS_GET_TIME (t); |
2369 if (!CONSP (Vlast_input_time)) | 2369 if (!CONSP (Vlast_input_time)) |
2370 Vlast_input_time = Fcons (Qnil, Qnil); | 2370 Vlast_input_time = Fcons (Qnil, Qnil); |
4250 Fcopy_event (event, Vlast_command_event); | 4250 Fcopy_event (event, Vlast_command_event); |
4251 | 4251 |
4252 /* Note that last-command-char will never have its high-bit set, in | 4252 /* Note that last-command-char will never have its high-bit set, in |
4253 an effort to sidestep the ambiguity between M-x and oslash. */ | 4253 an effort to sidestep the ambiguity between M-x and oslash. */ |
4254 Vlast_command_char = Fevent_to_character (Vlast_command_event, | 4254 Vlast_command_char = Fevent_to_character (Vlast_command_event, |
4255 Qnil, Qnil); | 4255 Qnil, Qnil, Qnil); |
4256 | 4256 |
4257 /* Actually call the command, with all sorts of hair to preserve or clear | 4257 /* Actually call the command, with all sorts of hair to preserve or clear |
4258 the echo-area and region as appropriate and call the pre- and post- | 4258 the echo-area and region as appropriate and call the pre- and post- |
4259 command-hooks. */ | 4259 command-hooks. */ |
4260 { | 4260 { |