diff options
| author | Jan Djärv | 2006-06-01 08:57:37 +0000 |
|---|---|---|
| committer | Jan Djärv | 2006-06-01 08:57:37 +0000 |
| commit | 2e92a7cbd6126487315aa3fc2d1e1f5faa84292d (patch) | |
| tree | b2d4cccbc8bb458c5ba1173668183bdee7065bdc /src/xmenu.c | |
| parent | 4054794d5825ab8efba399c681a9b998f2bd355e (diff) | |
| download | emacs-2e92a7cbd6126487315aa3fc2d1e1f5faa84292d.tar.gz emacs-2e92a7cbd6126487315aa3fc2d1e1f5faa84292d.zip | |
* 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.c | 2 |
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. */); | |||
| 3772 | 3772 | ||
| 3773 | #if defined (USE_GTK) || defined (USE_X_TOOLKIT) | 3773 | #if defined (USE_GTK) || defined (USE_X_TOOLKIT) |
| 3774 | defsubr (&Smenu_bar_open); | 3774 | defsubr (&Smenu_bar_open); |
| 3775 | Fdefalias (intern ("accelerate-menu"), intern (Smenu_bar_open.symbol_name), | ||
| 3776 | Qnil); | ||
| 3775 | #endif | 3777 | #endif |
| 3776 | 3778 | ||
| 3777 | #ifdef HAVE_MENUS | 3779 | #ifdef HAVE_MENUS |