aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorKaroly Lorentey2005-12-26 03:16:59 +0000
committerKaroly Lorentey2005-12-26 03:16:59 +0000
commitfeba0cd6405ebb80af743e2f978442d9c837bcd2 (patch)
tree1cb964aa641bee514d9cda2eafe27a0a97e65ad1 /src/xmenu.c
parent30663b475e57197c9896a252e1d4ca31c579fa2b (diff)
parent7a32e81fb608282314e27db21a00138aaa91f29a (diff)
downloademacs-feba0cd6405ebb80af743e2f978442d9c837bcd2.tar.gz
emacs-feba0cd6405ebb80af743e2f978442d9c837bcd2.zip
Merged from miles@gnu.org--gnu-2005 (patch 677)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-677 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-463
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 3fd88a7ac2f..36f95d911f0 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -905,8 +905,11 @@ no quit occurs and `x-popup-menu' returns nil. */)
905 905
906 if (! FRAME_X_P (f)) 906 if (! FRAME_X_P (f))
907 error ("Can not put X menu on non-X terminal"); 907 error ("Can not put X menu on non-X terminal");
908
909 XSETFRAME (Vmenu_updating_frame, f);
908 } 910 }
909 Vmenu_updating_frame = Qnil; 911 else
912 Vmenu_updating_frame = Qnil;
910#endif /* HAVE_MENUS */ 913#endif /* HAVE_MENUS */
911 914
912 record_unwind_protect (unuse_menu_items, Qnil); 915 record_unwind_protect (unuse_menu_items, Qnil);