- Subject: [Jed-users-l] Defining personal sl-files.
- From: Martin Klaiber <martinkl@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 9 May 2013 15:09:34 +0200
Hi all!
As mentioned in another mail some time ago, I have redefined some
functions for latex-mode and put them into my .jedrc. But I want to
have them in a separate file now, because my .jedrc is getting a bit
messy. So I put them in $HOME/jed/mylatex.sl. Like that:
   define my_tex_insert_quote ()
   {
      ...
   }
   more functions ...
   define latex_mode_hook ()
   {
      ...
   }
In .jedrc I wrote:
   variable Jed_Home_Library = "/home/martinkl/jed";
   set_jed_library_path (Jed_Home_Library + "," + get_jed_library_path ());
   add_mode_for_extension ("mylatex", "tex");
Unfortunately mylatex.sl is either not found or not loaded. I assume
my use of add_mode_for_extension is wrong. Could someone tell me, how
to do it right?
BTW: Do I have to add a "require ()" or "autoload ()" at the beginning
of mylatex.sl to get the predefined latex-functions from latex.sl? If
so, what is the right syntax to use?
TIA, Martin
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
  [2013 date index]
  [2013 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]