[Pkg-jed-commit] r927 - jedstate/trunk/debian

Rafael Laboissiere rafael at alioth.debian.org
Sat Oct 13 23:09:59 UTC 2007


Author: rafael
Date: 2007-10-13 23:09:59 +0000 (Sat, 13 Oct 2007)
New Revision: 927

Modified:
   jedstate/trunk/debian/55jedstate.sl
   jedstate/trunk/debian/changelog
Log:
* debian/55jedstate.sl: Wrap the require("gdbmrecent") command inside a
  try/catch block, such that startup will not abort when the jed-extra
  package is not installed (thanks to Jörg Sommer for the suggestion)


Modified: jedstate/trunk/debian/55jedstate.sl
===================================================================
--- jedstate/trunk/debian/55jedstate.sl	2007-10-12 06:53:00 UTC (rev 926)
+++ jedstate/trunk/debian/55jedstate.sl	2007-10-13 23:09:59 UTC (rev 927)
@@ -1,4 +1,6 @@
 % Activate gdbmrecent
 autoload ("what_line_if_wide", "sl_utils");
 autoload ("buffer_dirname", "bufutils");
-require ("gdbmrecent");
+try
+    require ("gdbmrecent");
+catch OpenError;

Modified: jedstate/trunk/debian/changelog
===================================================================
--- jedstate/trunk/debian/changelog	2007-10-12 06:53:00 UTC (rev 926)
+++ jedstate/trunk/debian/changelog	2007-10-13 23:09:59 UTC (rev 927)
@@ -1,3 +1,11 @@
+jedstate (0.5.4.transitional.1-6) UNRELEASED; urgency=low
+
+  * debian/55jedstate.sl: Wrap the require("gdbmrecent") command inside a
+    try/catch block, such that startup will not abort when the jed-extra
+    package is not installed (thanks to Jörg Sommer for the suggestion)
+
+ -- Rafael Laboissiere <rafael at debian.org>  Sun, 14 Oct 2007 01:08:30 +0200
+
 jedstate (0.5.4.transitional.1-5) unstable; urgency=low
 
   * debian/postint: Changed short-circuit conditionals by if/then/fi




More information about the Pkg-jed-commit mailing list