There's a nice message if the plugin is loaded and used and highlight is
not available, and a nice fallback. So no need for this other warning,
which can happen any time all plugins are loaded to generate a setup file.
}
sub checkconfig () {
-
eval q{use highlight};
- if ($@) {
- print STDERR "Failed to load highlight. Configuring anyway.\n";
- };
-
if (highlight::DataDir->can('new')){
$data_dir=new highlight::DataDir();
$data_dir->searchDataDir("");
the inlining page.
* Fix comments testsuite to not rely on Date::Parse's ability to
parse the date Columbus discovered America. Closes: #640350
+ * Avoid warning message when generating setup file if highlight
+ is not installed. Closes: #637606
-- Joey Hess <joeyh@debian.org> Tue, 19 Jul 2011 11:22:52 -0400