diff src/xmenu.c @ 71134:01f0740963b0

* xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for menu-bar-open.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 01 Jun 2006 08:57:37 +0000
parents c713bb95739c
children 6db6c056fc46 46b1096093f5 a8190f7e546e
line wrap: on
line diff
--- a/src/xmenu.c	Thu Jun 01 06:42:22 2006 +0000
+++ b/src/xmenu.c	Thu Jun 01 08:57:37 2006 +0000
@@ -3772,6 +3772,8 @@
 
 #if defined (USE_GTK) || defined (USE_X_TOOLKIT)
   defsubr (&Smenu_bar_open);
+  Fdefalias (intern ("accelerate-menu"), intern (Smenu_bar_open.symbol_name),
+             Qnil);
 #endif
 
 #ifdef HAVE_MENUS