Mercurial > emacs
view oldXMenu/EvHand.c @ 83459:8d8bc8469c77
Fix some bugs related to wrong_kboard_jmpbuf.
* src/keyboard.c (read_char): Declare. Update call to
`read_char_minibuf_menu_prompt'. Set wrong_kboard_jmpbuf correctly in
recursive calls.
(read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf
parameter. Use it in call to `read_char'.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-499
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sat, 28 Jan 2006 22:46:08 +0000 |
parents | 532e0a9335a9 |
children | d04d8ccb3c41 |
line wrap: on
line source
#include "copyright.h" /* Copyright Massachusetts Institute of Technology 1985 */ /* Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. */ /* * 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; } /* arch-tag: 8d614c8c-94d9-43c8-8e32-c438a3c8a8a3 (do not change this comment) */