Deleting a misplaced setting of 'currmenu'.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4760 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Benno Schulenberg 2014-04-13 12:09:32 +00:00
parent ade84e6fa1
commit 7b4faba8ef
2 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,9 @@
2014-04-13 Benno Schulenberg <bensberg@justemail.net>
* 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 <bensberg@justemail.net>
* doc/syntax/Makefile.am: Add four recent syntaxes to the packlist.

View File

@ -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,