[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gen_doc_cache
From: |
c. |
Subject: |
Re: gen_doc_cache |
Date: |
Fri, 16 Mar 2012 10:42:03 +0100 |
On 16 Mar 2012, at 09:57, Juan Pablo Carbajal wrote:
> Message: 8
> Date: Fri, 16 Mar 2012 09:56:50 +0100
> From: Juan Pablo Carbajal <address@hidden>
> To: octave maintainers mailing list <address@hidden>
> Subject: gen_doc_cache
> Message-ID:
> <address@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
>
> The lines 111 to 123 of scripts/help/gen_doc_cache.m could be replaced with
>
> dir_in_path = ismember (directory, strsplit (path (), pathsep ()));
>
> would people go against such change? (makes the code more readable)
>
> If you like it I can make a changeset and post it in savannah.
>
> Thanks
I like this change, wouldn't it also make sense to change gen_doc_cache.m
so that it can operate on a list of directories passed as a cell-array?
That would allow to get rid of scripts/pkg/private/generate_lookfor_cache.m
c.