diff scripts/help/lookfor.m @ 8940:6994961bf1f4

use doc-cache instead of DOC for doc cache file name
author John W. Eaton <jwe@octave.org>
date Mon, 09 Mar 2009 14:31:10 -0400
parents 2c8b2399247b
children b8ed0262b11e
line wrap: on
line diff
--- a/scripts/help/lookfor.m	Mon Mar 09 13:36:11 2009 -0400
+++ b/scripts/help/lookfor.m	Mon Mar 09 14:31:10 2009 -0400
@@ -75,7 +75,7 @@
 
   for n = 1:numel (new_path)
     elt = new_path{n};
-    cache_file = fullfile (elt, "DOC");
+    cache_file = fullfile (elt, "doc-cache");
     if (exist (cache_file, "file"))
       ## We have a cache in the directory, then read it and search it!
       [funs, hts] = search_cache (str, cache_file, search_type);