diff src/help.cc @ 8041:a14bdf90be55

Add a search for Contents.m files to the help function
author David Bateman <dbateman@free.fr>
date Tue, 19 Aug 2008 16:15:52 -0400
parents 85184151822e
children faf0abc5fd51
line wrap: on
line diff
--- a/src/help.cc
+++ b/src/help.cc
@@ -1005,6 +1005,18 @@
 
   if (h.length () > 0)
     retval = true;
+  else if (! symbol_found)
+    {
+      file = contents_file_in_path (nm);
+      
+      if (! file.empty ())
+	{
+	  h = get_help_from_file (file, symbol_found);
+
+	  if (h.length () > 0)
+	    retval = true;
+	}
+    }
 
   return retval;
 }