* src/rcfile.c - Fix compilation with --disable-color.
* src/rcfile.c - Allow (un)binding keys when colour is disabled.
* src/help.c - Fix compilation with --disable-browser.
+ * src/{proto.h,browser.c,help.c} - Remove a superfluous function.
2014-03-26 Mike Frysinger <vapier@gentoo.org>.
* configure.ac - Clean up most of the --with/--enable flags:
total_redraw();
} else if (f->scfunc == do_help_void) {
#ifndef DISABLE_HELP
- do_browser_help();
+ do_help_void();
curs_set(0);
#else
- nano_disabled_msg();
+ nano_disabled_msg();
#endif
/* Search for a filename. */
} else if (f->scfunc == do_search) {
help_text = NULL;
}
-#ifndef DISABLE_BROWSER
-/* Start the help browser for the file browser. */
-void do_browser_help(void)
-{
- do_help(&browser_refresh);
-}
-#endif
-
/* This function allocates help_text, and stores the help string in it.
* help_text should be NULL initially. */
void help_init(void)
#endif
/* All functions in help.c. */
-#ifndef DISABLE_BROWSER
-void do_browser_help(void);
-#endif
void do_help_void(void);
#ifndef DISABLE_HELP
void do_help(void (*refresh_func)(void));