Don't try to display menus and dialogs in an 'initial' frame.
authorEli Zaretskii <eliz@gnu.org>
Fri, 13 Jun 2014 14:42:43 +0000 (17:42 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 13 Jun 2014 14:42:43 +0000 (17:42 +0300)
commit8e3a5269904997a726e636ed5114abdbf0739910
tree4e1d481178bedec002c36041a6fa0b0b4727be98
parent447a92e7f7552f4668280a4e003a1bc3c21c4592
Don't try to display menus and dialogs in an 'initial' frame.

 src/menu.c (Fx_popup_menu): Don't call the frame's menu_show_hook if
 the frame is the initial frame, because the hook is not set up
 then, and Emacs crashes.
 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
src/ChangeLog
src/menu.c