comparison scripts/help/help.m @ 18070:ff05d5b70411

Deprecate find_dir_in_path in favor of dir_in_path. * NEWS: Announce deprecation of find_dir_in_path and new function dir_in_path. * scripts/deprecated/find_dir_in_path.m: Add script to call dir_in_path and give deprecation warning. * scripts/deprecated/module.mk: Add deprecated find_dir_in_path.m to build system. * utils.cc (Fdir_in_path): Renamed find_dir_in_path to dir_in_path. * help.m, what.m, rundemos.m, runtests.m: Chane instances of find_dir_in_path to dir_in_path. * utils.cc, variables.cc: Change seealso links to point to dir_in_path. * func.txi: Document dir_in_path function.
author Rik <rik@octave.org>
date Tue, 03 Dec 2013 15:59:56 -0800
parents d63878346099
children 1e27079409bf
comparison
equal deleted inserted replaced
18069:76006571e45a 18070:ff05d5b70411
161 161
162 function do_contents (name) 162 function do_contents (name)
163 163
164 found = false; 164 found = false;
165 165
166 dlist = find_dir_in_path (name, "all"); 166 dlist = dir_in_path (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);