unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Mackenzie<none@example.invalid>
Subject: Extending Info-directory-list.  There's got to be a better way.
Date: Tue, 1 Apr 2003 20:59:27 +0000	[thread overview]
Message-ID: <fjuc6b.r5.ln@acm.acm> (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").

             reply	other threads:[~2003-04-01 20:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 20:59 Alan Mackenzie [this message]
2003-04-01 22:59 ` Extending Info-directory-list. There's got to be a better way Oliver Scholz
2003-04-02  4:13 ` Eli Zaretskii
2003-04-03 21:31 ` Kevin Ryde
2003-04-04 18:18 ` David Masterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fjuc6b.r5.ln@acm.acm \
    --to=none@example.invalid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).