help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extending Info-directory-list. There's got to be a better way.


From: Eli Zaretskii
Subject: Re: Extending Info-directory-list. There's got to be a better way.
Date: Wed, 02 Apr 2003 06:13:46 +0200

> From: Alan Mackenzie<none@example.invalid>
> Newsgroups: gnu.emacs.help
> Date: Tue, 1 Apr 2003 20:59:27 +0000
> 
> (eval-after-load "info"
>   '(progn (info-initialize)
>         (push "/usr/src/packages/BUILD/emacs-21.1/info/" 
> Info-directory-list)))
> 
> This was the only way I found of appending to the front of
> Info-directory-list which works regardless of whether or not Info has
> already been loaded (for example, by desktop).
> 
> Surely there's got to be a better way?

Yes: set the INFOPATH environment variable outside Emacs (in the same
shell from which you are invoking Emacs).  That is the advertized way
of doing what you want, and it also makes sure any other Info reader
will see the same Info files as Emacs.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]