VERIFY-FINAL-VALUE is always executed in a context that handles
authorChris Hanson <org/chris-hanson/cph>
Mon, 7 May 2001 18:01:40 +0000 (18:01 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 7 May 2001 18:01:40 +0000 (18:01 +0000)
errors, so there's no need for us to do this.

v7/src/imail/imail-top.scm

index 19674ea6627ad011d139099700d3634680136311..097628d48292533f70e52bdf4d0bc2404db30635 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: imail-top.scm,v 1.236 2001/04/15 20:58:44 cph Exp $
+;;; $Id: imail-top.scm,v 1.237 2001/05/07 18:01:40 cph Exp $
 ;;;
 ;;; Copyright (c) 1999-2001 Massachusetts Institute of Technology
 ;;;
@@ -1644,12 +1644,7 @@ Negative argument means search in reverse."
           (lambda (string)
             (url-string-completions string imail-get-default-url))
           (lambda (string)
-            (let ((url
-                   (ignore-errors
-                    (lambda ()
-                      (imail-parse-partial-url string)))))
-              (and (url? url)
-                   (url-exists? url))))
+            (url-exists? (imail-parse-partial-url string)))
           'DEFAULT-TYPE 'INSERTED-DEFAULT
           options)))
 \f