Jason Rumney wrote:
David PONCE <[EMAIL PROTECTED]> writes:


+   (condition-case nil
+       ;; If the library if available, use it.
+       (require feature)
+     (error
+      ;; Try to use the one from the JDEE's distribution.
+      (require feature (format "jde-%s" feature)))))


It might be cleaner to use:

(if (not (require feature nil t))
    (require feature (format "jde-%s" feature)))



The problem is that the XEmacs version of `require' doesn't support the optional NOERROR flag :-(

Reply via email to