* (OptMenu): Add "Learn Keys".

(OptMenuEmacs): Likewise.
This commit is contained in:
Pavel Roskin 2003-01-28 17:56:53 +00:00
parent 691fe8dee2
commit 0da0c44f87
2 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2002-12-28 Pavel Roskin <proski@gnu.org>
* (OptMenu): Add "Learn Keys".
(OptMenuEmacs): Likewise.
2003-01-27 Andrew V. Samoilov <sav@bcs.zp.ua>
* edit-widget.h (struct macro): Move definition ...

View File

@ -28,6 +28,7 @@
#include "src/tty.h" /* KEY_F */
#include "src/key.h" /* XCTRL */
#include "src/main.h" /* drop_menus */
#include "src/learn.h" /* learn_keys */
#include "edit-widget.h"
#include "editcmddef.h"
@ -402,19 +403,19 @@ static menu_entry CmdMenuEmacs[] =
static menu_entry OptMenu[] =
{
{' ', N_("&General... "), 'G', menu_options},
{' ', N_("&Save mode..."), 'S', menu_save_mode_cmd}
#if 0
{' ', N_("&Layout..."), 'L', menu_layout_cmd}
#endif
{' ', N_("&Save mode..."), 'S', menu_save_mode_cmd},
#ifndef NATIVE_WIN32
{' ', N_("learn &Keys..."), 'K', learn_keys}
#endif /* !NATIVE_WIN32 */
};
static menu_entry OptMenuEmacs[] =
{
{' ', N_("&General... "), 'G', menu_options},
{' ', N_("&Save mode..."), 'S', menu_save_mode_cmd}
#if 0
{' ', N_("&Layout..."), 'L', menu_layout_cmd}
#endif
{' ', N_("&Save mode..."), 'S', menu_save_mode_cmd},
#ifndef NATIVE_WIN32
{' ', N_("learn &Keys..."), 'K', learn_keys}
#endif /* !NATIVE_WIN32 */
};
#define menu_entries(x) sizeof(x)/sizeof(menu_entry)