[Pkg-jed-commit] r773 - jed-extra/trunk/debian/examples

Guenter Milde milde-guest at alioth.debian.org
Fri Jun 8 12:27:22 UTC 2007


Author: milde-guest
Date: 2007-06-08 12:27:22 +0000 (Fri, 08 Jun 2007)
New Revision: 773

Modified:
   jed-extra/trunk/debian/examples/50jed-extra-full.sl
   jed-extra/trunk/debian/examples/50jed-extra-minimal.sl
   jed-extra/trunk/debian/examples/50jed-extra.sl
Log:
use evalfile() instead of require() to circumvent problems with new implementation (where second arg is namespace)

Modified: jed-extra/trunk/debian/examples/50jed-extra-full.sl
===================================================================
--- jed-extra/trunk/debian/examples/50jed-extra-full.sl	2007-06-08 11:16:32 UTC (rev 772)
+++ jed-extra/trunk/debian/examples/50jed-extra-full.sl	2007-06-08 12:27:22 UTC (rev 773)
@@ -14,7 +14,6 @@
 % with the command line option --skip-debian-startup. If this frightens you
 % (or your users), go for the "minimal" version of 50jed-extra.
 
-
 % Location of the jed-extra package's library dir
 $1 = "/usr/share/jed/jed-extra/";
 
@@ -28,7 +27,7 @@
 % Add (and initialize) library directories
 % ----------------------------------------
 
-require("libdir", $2);
+() = evalfile($2);
 
 % Utilities (required by the other modes)
 %   Initialization adds autoloads for utility functions:

Modified: jed-extra/trunk/debian/examples/50jed-extra-minimal.sl
===================================================================
--- jed-extra/trunk/debian/examples/50jed-extra-minimal.sl	2007-06-08 11:16:32 UTC (rev 772)
+++ jed-extra/trunk/debian/examples/50jed-extra-minimal.sl	2007-06-08 12:27:22 UTC (rev 773)
@@ -24,7 +24,7 @@
 % Add (and initialize) library directories
 % ----------------------------------------
 
-require("libdir", $2);
+() = evalfile($2);
 
 % Utilities (required by the other modes)
 %   Initialization adds autoloads for utility functions:

Modified: jed-extra/trunk/debian/examples/50jed-extra.sl
===================================================================
--- jed-extra/trunk/debian/examples/50jed-extra.sl	2007-06-08 11:16:32 UTC (rev 772)
+++ jed-extra/trunk/debian/examples/50jed-extra.sl	2007-06-08 12:27:22 UTC (rev 773)
@@ -16,7 +16,7 @@
 % Add (and initialize) library directories
 % ----------------------------------------
 
-require("libdir", $2);
+() = evalfile($2);
 
 % Utilities (required by the other modes)
 % append_libdir($1 + "utils/", 1);    % append and initialize




More information about the Pkg-jed-commit mailing list