comparison scripts/help/help.m @ 18074:1e27079409bf

Rename function dir_in_path to dir_in_loadpath. * NEWS: Announce new function in 4.2. * scripts/deprecated/find_dir_in_path.m: Call dir_in_loadpath as replacement. * utils.cc (Fdir_in_loadpath): Renamed dir_in_path to dir_in_loadpath. * help.m, what.m, rundemos.m, runtests.m: Chane instances of dir_in_path to dir_in_loadpath. * utils.cc, variables.cc: Change seealso links to point to dir_in_loadpath. * func.txi: Document dir_in_loadpath function.
author Rik <rik@octave.org>
date Wed, 04 Dec 2013 08:23:42 -0800
parents ff05d5b70411
children 889e2c083253
comparison
equal deleted inserted replaced
18072:b4b5ee91561a 18074:1e27079409bf
161 161
162 function do_contents (name) 162 function do_contents (name)
163 163
164 found = false; 164 found = false;
165 165
166 dlist = dir_in_path (name, "all"); 166 dlist = dir_in_loadpath (name, "all");
167 167
168 for i = 1:numel (dlist) 168 for i = 1:numel (dlist)
169 fname = make_absolute_filename (fullfile (dlist{i}, "Contents.m")); 169 fname = make_absolute_filename (fullfile (dlist{i}, "Contents.m"));
170 170
171 [text, format] = get_help_text_from_file (fname); 171 [text, format] = get_help_text_from_file (fname);