changeset 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 7cb50e0625f4
children a40a279936e8
files src/ChangeLog src/xmenu.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jun 01 06:42:22 2006 +0000
+++ b/src/ChangeLog	Thu Jun 01 08:57:37 2006 +0000
@@ -1,3 +1,8 @@
+2006-06-01  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
+
+	* xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for
+	menu-bar-open.
+
 2006-06-01  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
 	* xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to
--- 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