[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: |
Oliver Scholz |
Subject: |
Re: Extending Info-directory-list. There's got to be a better way. |
Date: |
Wed, 02 Apr 2003 00:59:36 +0200 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3.50 (windows-nt) |
Alan Mackenzie<none@example.invalid> writes:
> I recently added the following to my .emacs, after much (too much)
> searching of the docs:
>
> (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? One that doesn't involve arcane
> constructions like eval-after-load and calling functions like
> info-initialise which feel like they ought to be internal private
> functions rather than public functions.
[...]
I think, if you use `Info-default-directory-list' rather than
`Info-directory-list', you can simply `push' to it. I think it is
preloaded.
Oliver
--
13 Germinal an 211 de la Révolution
Liberté, Egalité, Fraternité!