Commit d130d129 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(xmenu_show): Call inhibit_garbage_collection.

parent 160bde9c
......@@ -3343,6 +3343,11 @@ xmenu_show (f, x, y, for_click, keymaps, title, error)
return Qnil;
/* Don't GC while we prepare and show the menu,
because we give the oldxmenu library pointers to the
contents of strings. */
inhibit_garbage_collection ();
/* Adjust coordinates to relative to the outer (window manager) window. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment