Mercurial > octave-nkf
comparison src/help.cc @ 8630:540165304f00
Allow displaying 'Contents.m' files.
author | Soren Hauberg <hauberg@gmail.com> |
---|---|
date | Sun, 25 Jan 2009 17:25:15 +0100 |
parents | f134925a1cfa |
children | 52956d669506 |
comparison
equal
deleted
inserted
replaced
8629:f07730ed5613 | 8630:540165304f00 |
---|---|
657 | 657 |
658 h = get_help_from_file (nm, symbol_found, file); | 658 h = get_help_from_file (nm, symbol_found, file); |
659 | 659 |
660 if (h.length () > 0) | 660 if (h.length () > 0) |
661 retval = true; | 661 retval = true; |
662 else if (! symbol_found) | |
663 { | |
664 file = contents_file_in_path (nm); | |
665 | |
666 if (! file.empty ()) | |
667 { | |
668 h = get_help_from_file (file, symbol_found); | |
669 | |
670 if (h.length () > 0) | |
671 retval = true; | |
672 } | |
673 } | |
674 | 662 |
675 return retval; | 663 return retval; |
676 } | 664 } |
677 | 665 |
678 static bool | 666 static bool |