]> git.eshelyaron.com Git - emacs.git/commitdiff
(webjump-sample-sites): Fix Lisp archive site.
authorDave Love <fx@gnu.org>
Sat, 31 Oct 1998 22:55:26 +0000 (22:55 +0000)
committerDave Love <fx@gnu.org>
Sat, 31 Oct 1998 22:55:26 +0000 (22:55 +0000)
(webjump): Don't funcall browse-url-browser-function.

lisp/webjump.el

index 42d0a4d4f2de0cec6c331500833013942a58a859..22a8c5663719bf3590c3ae6f1018d6f4c1c25c8b 100644 (file)
 
     ;; Emacs.
     ("Emacs Lisp Archive" .
-     "ftp://archive.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/")
+     "ftp://ftp.cis.ohio-state.edu/pub/gnu/emacs/elisp-archive/")
 
     ;; Internet search engines.
     ("AltaVista" . 
@@ -279,18 +279,18 @@ Please submit bug reports and other feedback to the author, Neil W. Van Dyke
                webjump-sites))
         (name (car item))
         (expr (cdr item)))
-    (funcall browse-url-browser-function
-            (webjump-url-fix
-             (cond ((not expr) "")
-                   ((stringp expr) expr)
-                   ((vectorp expr) (webjump-builtin expr name))
-                   ((listp expr) (eval expr))
-                   ((symbolp expr)
-                    (if (fboundp expr)
-                        (funcall expr name)
-                      (error "WebJump URL function \"%s\" undefined." expr)))
-                   (t (error "WebJump URL expression for \"%s\" invalid."
-                             name)))))))
+    (browse-url (webjump-url-fix
+                (cond ((not expr) "")
+                      ((stringp expr) expr)
+                      ((vectorp expr) (webjump-builtin expr name))
+                      ((listp expr) (eval expr))
+                      ((symbolp expr)
+                       (if (fboundp expr)
+                           (funcall expr name)
+                         (error "WebJump URL function \"%s\" undefined." 
+                                expr)))
+                      (t (error "WebJump URL expression for \"%s\" invalid."
+                                name)))))))
 
 (defun webjump-builtin (expr name)
   (if (< (length expr) 1)