[sawfish] removed try-require



commit c1c91b8dda97dca27b62dec9c982ab0b0a26f5d8
Author: Christopher Roy Bratusek <chris nanolx org>
Date:   Tue Oct 6 17:45:07 2009 +0200

    removed try-require

 ChangeLog                   |    4 ++++
 lisp/sawfish/wm/defaults.jl |    8 --------
 man/news.texi               |    2 +-
 3 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3c6a43d..804b646 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-10-05  Christopher Bratusek <zanghar freenet de>
+	* lisp/sawfish/wm/defaults.jl
+	* man/news.texi: removed try-require
+
 2009-10-03  Jeremy Hankins <nowan nowan org>
 	* lisp/sawfish/cfg/main.jl.in
 	* lisp/sawfish/gtk/widgets/font.jl.in
diff --git a/lisp/sawfish/wm/defaults.jl b/lisp/sawfish/wm/defaults.jl
index fdad7f7..980481b 100644
--- a/lisp/sawfish/wm/defaults.jl
+++ b/lisp/sawfish/wm/defaults.jl
@@ -41,11 +41,3 @@
 
 ;; save errors to aid debugging
 (require 'sawfish.wm.ext.error-handler)
-
-;; try-require
-;; try to trequire a script, but don't
-;; err if failed
-(define (try-require sym)
-  (condition-case nil
-      (require sym)
-    (error nil)))
diff --git a/man/news.texi b/man/news.texi
index 2604b7d..95a5cd5 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -101,7 +101,7 @@ Shrink-yank functions and @code{send-to-workspace}.
 
 @item Added @code{keymap-trans} window-matcher [Scott Scriven]
 
- item Added @code{some} @code{program-available} @code{view-clipboard} @code{try-require} functions [Mark Triggs]
+ item Added @code{some} @code{program-available} @code{view-clipboard} functions [Mark Triggs]
 
 @item Added @code{display-message-with-timeout} @code{browser} commands [Christopher Bratusek]
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]