jed-users mailing list

[2011 Date Index] [2011 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] S-Lang load path?


Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx> wrote:
> I tried to redefine _slang_install_prefix in defaults.sl but I get:
>
> framstag@fex: jed -batch
> loading /sw/ubuntu-10.04/jed-0.99-19/jed/lib/site.slc
> loading /sw/ubuntu-10.04/jed-0.99-19/jed/lib/os.sl
> loading /sw/ubuntu-10.04/jed-0.99-19/jed/lib/menus.slc
> loading /sw/ubuntu-10.04/jed-0.99-19/jed/lib/defaults.sl
> _slang_install_prefix is read-only
>
> Is there an other workaround?

In your defaults.sl, try adding something like:

   set_slang_load_path (get_slang_load_path ()
                        + path_get_delimiter ()
			+ "/path/to/require.sl");

Thanks,
--John
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2011 date index] [2011 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]