diff scripts/help/lookfor.m @ 8861:31f864877246

doc and lookfor fixes
author John W. Eaton <jwe@octave.org>
date Tue, 24 Feb 2009 15:08:39 -0500
parents e0fbf17a17bb
children 3149112b9412
line wrap: on
line diff
--- a/scripts/help/lookfor.m	Tue Feb 24 14:13:32 2009 -0500
+++ b/scripts/help/lookfor.m	Tue Feb 24 15:08:39 2009 -0500
@@ -53,7 +53,7 @@
   str = lower (str);
 
   ## Search functions, operators, and keywords that come with Octave
-  cache_file = fullfile (octave_config_info.datadir, "etc", "DOC");
+  cache_file = doc_cache_file ();
   if (exist (cache_file, "file"))
     [fun, help_text] = search_cache (str, cache_file, search_type);
     had_core_cache = true;