Subject: Re: bug#11999: 24.1.50; New Info file suffix ".info" breaks `Info-find-node-2'

From: Eli Zaretskii <[email-masked]>
Date: Fri, 20 Jul 2012 23:43:19 +0300

> From: "Drew Adams" <[email-masked]>
> Date: Fri, 20 Jul 2012 11:45:33 -0700
> Cc: [email-masked]
> 
> > > The code does exactly the same thing, step by step.  But when
> > > `info-insert-file-contents' is called in the 7/16 build it 
> > > returns nil instead of t
> > 
> > info-insert-file-contents doesn't return a boolean (in fact it doesn't
> > return any useful value at all).
> 
> Look at the two backtraces.  Contrast their first lines.
> 
> It should be clear that I meant `info-file-exists-p', not
> `info-insert-file-contents'.
> 
> This is the problem - there is no such file:
> 
>   info-file-exists-p("c:/Emacs-24-2012-07-16/info/emacs")

You will need to explain more, because info-insert-file-contents first
tests for the argument FILENAME, and if that does not exist, it tries
FILENAME with every extension in Info-suffix-list, which includes
".info".

In particular, this works for me on MS-Windows:

  M-: (info-insert-file-contents "d:/path/to/emacs/info/emacs") RET

and loads emacs.info.  Why doesn't it work for you?