mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-17 10:06:13 +00:00
(xmenu_show) [USE_X_TOOLKIT]: return Qnil when val is null.
This commit is contained in:
parent
649ddbf59f
commit
63c414df27
@ -879,6 +879,8 @@ xmenu_show (f, val, x, y, menubarp, vw)
|
||||
XMEventQue *feq_tmp; /* Foreign event queue temporary. */
|
||||
|
||||
BLOCK_INPUT;
|
||||
if (val == 0) return Qnil;
|
||||
|
||||
menu_id = ++popup_id_tick;
|
||||
menu = lw_create_widget ("popup", val->name, menu_id, val,
|
||||
f->display.x->widget, 1, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user