>>>>> "Hrvoje" == Hrvoje Niksic <hniksic(a)iskon.hr> writes:
Hrvoje> If I understand things correctly, the preferred way to add stuff to
Hrvoje> Info directory search path is using `Info-directory-list', e.g.:
Hrvoje> (push "~/my-info-dir" Info-directory-list)
Hrvoje> or:
Hrvoje> (setq Info-directory-list (append '("dir1" "dir2" "dir3") Info-directory-list))
Hrvoje> This works in .emacs because Info-directory-list is autoloaded rather
Hrvoje> than set in info.el. The documentation says:
Hrvoje> The first directory in this list, the "dir" file there will become
Hrvoje> the (dir)Top node of the Info documentation tree. If you wish to
Hrvoje> modify the info search path, use `M-x customize-variable,
Hrvoje> Info-directory-list' to do so.
Hrvoje> The last sentence is IMO wrong: if you change the value of the
Hrvoje> variable, you will completely override the autoloaded defaults. This
Hrvoje> means that if the autoloaded stuff changes, e.g. by installing a new
Hrvoje> package, the new values get ignored.
Hrvoje> Info-directory-list should not be customizable at all.
You're right. I suspect this perversion (Info-directory-list isn't
even defcustom'ed) came about, because the documentation used to say
`Info-default-directory-list' at that place, which never worked right
either.
--
Cheers =8-} Chipsy
Friede, Völkerverständigung und überhaupt blabla