Istvan Marko wrote:
>
> Sven Utcke <ut...@ko...> writes:
>
> > > (setenv "MODULEPATH" "/usr/local/etc/modules")
> > >
> > > (defun module-load (module)
> > > (interactive "s")
> > > (eval
> > > (car (read-from-string (shell-command-to-string
> > > (concat "/path/to/modulecmd emacs load " module))))))
> >
> > Thanks, I'll try this (in a slightly edited version :-). However,
> > this only set's environment-variables, so while it would set INFOPATH,
> > it probably wouldn't set Info-default-directory-list or
> > Info-directory-list. Let's see, if I eval:
> >
> > (setenv "INFOPATH" "/usr/local/info:/opt/gnu/info:/software/fweb-1.62/info")
> >
> > I get:
> > Info-directory-list's value is
> > ("/software/ispell-3.1.20/info" "/usr/local/info" "/opt/gnu/info" "/software/fweb-1.62/info")
> > so this doesn't work. But at least I can set up the path, thanks...
>
> It might work if you load the module before info.el gets
> (auto)loaded. Info-directory-list gets initialized from INFOPATH at
> load time.
>
> --
> Istvan
Tired to receive your mail without being in the mailing list...
--
__o
_ \<,_
______(_)__(_)________
Yvan Michaud CSA
Analyste en systeme
Sisca Inc.
yva...@si...
www.sisca.com
|