diff --git a/ChangeLog b/ChangeLog index 9f28ab24..c5e7ddec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,9 @@ 2014-04-13 Benno Schulenberg - * proto.h, global.c, rcfile.c: Remove unused parameter 'menu' + * proto.h, global.c, rcfile.c: Remove the unused parameter 'menu' from strtosc(). - * global.c (shortcut_init): Remove mistaken browser item from + * global.c (shortcut_init): Remove mistaken browser item from the Go-To-Line menu. + * global.c (shortcut_init): Delete a misplaced setting of 'currmenu'. 2014-04-10 Benno Schulenberg * doc/syntax/Makefile.am: Add four recent syntaxes to the packlist. diff --git a/src/global.c b/src/global.c index 3fea14e2..2b7da227 100644 --- a/src/global.c +++ b/src/global.c @@ -1077,8 +1077,6 @@ void shortcut_init(void) goto_dir_msg, IFSCHELP(nano_gotodir_msg), FALSE, VIEW); #endif - currmenu = MMAIN; - add_to_sclist(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER, "^G", do_help_void, 0, TRUE); add_to_sclist(MMAIN|MWHEREIS|MREPLACE|MREPLACE2|MGOTOLINE|MWRITEFILE|MINSERTFILE|MEXTCMD|MSPELL|MBROWSER|MWHEREISFILE|MGOTODIR|MLINTER,