Mercurial > hg > octave-nkf
changeset 19497:e433efa383e4
doc.m: Add support for info files in bzip format (bug #43526).
* doc.m: If info file does not exist, try finding it with .bz2 extension
author | Rik <rik@octave.org> |
---|---|
date | Tue, 04 Nov 2014 20:18:15 -0800 |
parents | 9f83ea3fa48c |
children | 314b4de4bb6d |
files | scripts/help/doc.m |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/help/doc.m +++ b/scripts/help/doc.m @@ -81,7 +81,8 @@ info_file_name = info_file (); if (! exist (info_file_name, "file") - && ! exist ([info_file_name ".gz"], "file")) + && ! exist ([info_file_name ".gz"], "file") + && ! exist ([info_file_name ".bz2"], "file")) __gripe_missing_component__ ("doc", "info-file"); endif endif