unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Extending Info-directory-list.  There's got to be a better way.
@ 2003-04-01 20:59 Alan Mackenzie
  2003-04-01 22:59 ` Oliver Scholz
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Alan Mackenzie @ 2003-04-01 20:59 UTC (permalink / raw)


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.

Anybody got any ideas to share?

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-04-04 18:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-01 20:59 Extending Info-directory-list. There's got to be a better way Alan Mackenzie
2003-04-01 22:59 ` Oliver Scholz
2003-04-02  4:13 ` Eli Zaretskii
2003-04-03 21:31 ` Kevin Ryde
2003-04-04 18:18 ` David Masterson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).