Mercurial > emacs
view oldXMenu/EvHand.c @ 41824:9fc96faea7e7
(kbd_buffer_store_event): Fix interrupt_signal prototype.
Pass a dummy argument when calling interrupt_signal.
(parse_menu_item): Mark disabled items before checking for empty def.
(read_char_minibuf_menu_prompt): Make safety more visible.
(read_key_sequence): Add a `first_unbound' variable.
Use it to detect C-c ESC ESC ESC ESC ... cases and drop the
unbound prefix as soon as we can detect it.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 05 Dec 2001 02:51:12 +0000 |
parents | bbce331da1be |
children | 695cf19ef79e d7ddb3e565de |
line wrap: on
line source
#include "copyright.h" /* $Header: /u/src/emacs/19.0/oldXMenu/RCS/EvHand.c,v 1.1 1992/04/11 22:10:19 jimb Exp $ */ /* Copyright Massachusetts Institute of Technology 1985 */ /* * XMenu: MIT Project Athena, X Window system menu package * * XMenuEventHandler - Set the XMenu asynchronous event handler. * * Author: Tony Della Fera, DEC * December 19, 1985 * */ #include "XMenuInt.h" XMenuEventHandler(handler) int (*handler)(); { /* * Set the global event handler variable. */ _XMEventHandler = handler; }