comparison scripts/help/lookfor.m @ 16403:1de4ec2a856d

Matlab compatibility for strsplit() * scripts/strings/strsplit.m: Matlab compatible version. * NEWS: Mention break in backward compatibility. * scripts/deprecated/javafields.m: Modify call to strsplit(). * scripts/deprecated/javamethods.m: ditto * scripts/general/fieldnames.m: ditto * scripts/general/int2str.m: ditto * scripts/general/methods.m: ditto * scripts/general/num2str.m: ditto * scripts/help/gen_doc_cache.m: ditto * scripts/help/help.m: ditto * scripts/help/lookfor.m: ditto * scripts/io/strread.m: ditto * scripts/java/javaclasspath.m: ditto * scripts/miscellaneous/compare_versions.m: ditto * scripts/miscellaneous/computer.m: ditto * scripts/miscellaneous/fact.m: ditto * scripts/miscellaneous/tar.m: ditto * scripts/miscellaneous/unpack.m: ditto * scripts/miscellaneous/what.m: ditto * scripts/miscellaneous/zip.m: ditto * scripts/pkg/private/configure_make.m: ditto * scripts/pkg/private/fix_depends.m: ditto * scripts/pkg/private/generate_lookfor_cache.m: ditto * scripts/pkg/private/list_forge_packages.m: ditto * scripts/pkg/private/unload_packages.m: ditto * scripts/pkg/private/write_index.m: ditto * scripts/plot/private/__file_filter__.m: ditto * scripts/plot/private/__fltk_file_filter__.m: ditto * scripts/plot/private/__go_draw_axes__.m: ditto * scripts/plot/private/__next_line_style__.m: ditto * scripts/strings/untabify.m: ditto * scripts/testfun/rundemos.m: ditto * scripts/testfun/runtests.m: ditto
author Ben Abbott <bpabbott@mac.com>
date Sun, 31 Mar 2013 19:19:04 -0400
parents 7277fe922e99
children b7667fcb9fbc
comparison
equal deleted inserted replaced
16402:7fa90eb41240 16403:1de4ec2a856d
64 fun = help_text = {}; 64 fun = help_text = {};
65 had_core_cache = false; 65 had_core_cache = false;
66 endif 66 endif
67 67
68 ## Search functions in new path dirs. 68 ## Search functions in new path dirs.
69 orig_path = strsplit (__pathorig__ (), pathsep ()); 69 orig_path = strsplit (__pathorig__ (), pathsep (), false);
70 70
71 ## ditto for path. 71 ## ditto for path.
72 new_path = strsplit (path (), pathsep ()); 72 new_path = strsplit (path (), pathsep (), false);
73 73
74 ## scratch out directories already covered by orig_path. 74 ## scratch out directories already covered by orig_path.
75 if (had_core_cache) 75 if (had_core_cache)
76 new_path = setdiff (new_path, orig_path); 76 new_path = setdiff (new_path, orig_path);
77 endif 77 endif