all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Info-directory-list initialization
@ 2009-07-23 10:19 Karl Eichwalder
  0 siblings, 0 replies; only message in thread
From: Karl Eichwalder @ 2009-07-23 10:19 UTC (permalink / raw)
  To: emacs-devel

I'm wondering whether Info-directory-list initialization actually works
as said in the Info-directory-list docstring:

    ... or the
    concatenation of the two if INFOPATH ends with a colon.
    
    When `Info-directory-list' is initialized from the value of
    `Info-default-directory-list', and Emacs is not installed in one
    of the standard directories, the first element of the resulting
    list is the directory where Emacs installs the Info files that
    come with it.  This is so that Emacs's own manual, which suits the
    version of Emacs you are using, will always be found first.

I installed emacs 23.1.50 from CVS with --prefix=/gnu.  When I start
emacs with

INFOPATH=: /gnu/bin/emacs -q --no-site-file

I see:

Info-directory-list is a variable defined in `info.el'.
Its value is 
("" "/gnu/share/info/" "/usr/share/info/")

But when I call C-h i, emacs offers Info files from /usr/share/info for
reading instead of /gnu/share/info, which comes earlier.  I can read the
files from /gnu/share/info, when I call

INFOPATH=/gnu/share/info /gnu/bin/emacs -q --no-site-file

-- 
Karl Eichwalder
R&D / Documentation

SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-23 10:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23 10:19 Info-directory-list initialization Karl Eichwalder

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.