Here is the end of x-popup-menu in w32menu.c. It looks to me like the menu structure is freed before "selection" is used. Obviously you think otherwise, Jason. Can you explain to me what is happening here? Does perhaps w32_menu_show do more than the name suggests?
discard_menu_items frees up the lisp menu structure for garbage collection. There is another copy of the menu structure in global variable wv, that is used by the C code that needs it.




_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to