* editmenu.c: Added a "Save setup..." entry. There had not been

the possibility of saving editor options except calling the
	"Save setup..." function from within the file manager.
This commit is contained in:
Roland Illig 2005-09-07 08:49:30 +00:00
parent 4df8fde197
commit 34d39bfd0b
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-09-07 Roland Illig <roland.illig@gmx.de>
* editmenu.c: Added a "Save setup..." entry. There had not been
the possibility of saving editor options except calling the
"Save setup..." function from within the file manager.
2005-09-05 Roland Illig <roland.illig@gmx.de>
* editcmd.c: Fixed some of the gcc warnings.

View File

@ -38,6 +38,7 @@
#include "../src/global.h"
#include "edit.h"
#include "../src/cmd.h" /* save_setup_cmd() */
#include "../src/wtools.h" /* query_dialog() */
#include "../src/menu.h" /* menu_entry */
#include "../src/tty.h" /* KEY_F */
@ -410,7 +411,9 @@ static menu_entry OptMenu[] =
{' ', N_("&General... "), 'G', menu_options},
{' ', N_("&Save mode..."), 'S', menu_save_mode_cmd},
{' ', N_("Learn &Keys..."), 'K', learn_keys},
{' ', N_("Syntax &Highlighting..."), 'H', menu_syntax}
{' ', N_("Syntax &Highlighting..."), 'H', menu_syntax},
{' ', "", ' ', 0},
{' ', N_("Save setu&p..."), 'p', save_setup_cmd}
};
#define OptMenuEmacs OptMenu