summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2006-06-01 08:57:37 +0000
committerJan Djärv <jan.h.d@swipnet.se>2006-06-01 08:57:37 +0000
commit2e92a7cbd6126487315aa3fc2d1e1f5faa84292d (patch)
treeb2d4cccbc8bb458c5ba1173668183bdee7065bdc /src/xmenu.c
parent4054794d5825ab8efba399c681a9b998f2bd355e (diff)
downloademacs-2e92a7cbd6126487315aa3fc2d1e1f5faa84292d.tar.gz
* xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for
menu-bar-open.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index f2b5f9f0c07..5a71d82a424 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -3772,6 +3772,8 @@ The enable predicate for a menu command should check this variable. */);
#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