Mail Archives: djgpp/1997/11/23/21:34:03
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> writes:
> On 21 Nov 1997, Michael Bukin wrote:
>
> > I think better idea is to change source to something like
> > (if (eq system-type 'ms-dos)
> > "(libc)Alphabetical List"
> > "(libc)File Index")
>
> I'm not sure (somebody might want to install glibc as well). It
> should probably look for both and use whichever is found.
I agree, that it will be better. The only problem left is when both
versions are present. The first one found will be used, which is
probably not what the user wants.
>
> > I think it should be changed from '() to (let ...).
>
> Why?
Just because I'm not an elisp expert :)
My thought was about evaluation of (if ...). If the list is simply
extended with DJGPP libc reference then nothing special is needed.
DJGPP version can have something like djgpp-info-lookup-symbol-alist
prepared for use with DJGPP version of libc.info. Users will load
file with this symbol and evaluate (setq info-lookup... djgpp-info...)
This way user can choose between GNU and DJGPP versions.
- Raw text -