If there are no syntax sections, skip syntax-related processing (such as loading the magic database)

Original nano commit: 5037
http://svn.savannah.gnu.org/viewvc?view=rev&root=nano&revision=5037
Original nano commit message:
	When there are no syntaxes, for example with --ignorercfiles,
	do not try to find one, because that would lead to the magic
	database being searched, which slows down startup a lot.
Rename 'cut_till_end' to 'cut_to_eof' and 'do_cut_till_end()' to 'do_cut_to_eof()' to avoid confusion with CUT_TO_END (which is to end-of-line)

Original nano commit: 5041
http://svn.savannah.gnu.org/viewvc?view=rev&root=nano&revision=5041
Original nano commit message:
	Renaming '*cut_till_end' to '*cut_till_eof', to reduce
	confusion with CUT_TO_END, which is about end-of-line.
	Patch by Mark Majeres.
Set 'currmenu' in all the right places and then stop passing around a 'menu' parameter to get_shortcut()

Original nano commit: 5043
http://svn.savannah.gnu.org/viewvc?view=rev&root=nano&revision=5043
Original nano commit message:
	Now that 'currmenu' is really global, stop passing it around.
Remove unneeded 'menu' parameter to get_prompt_string() by setting currmenu earlier

Original nano commit: 5045
http://svn.savannah.gnu.org/viewvc?view=rev&root=nano&revision=5045
Original nano commit message:
	Not passing the menu but setting it earlier.