# HG changeset patch # User Stefan Monnier # Date 1136179471 0 # Node ID ea32c9f0c8e77b29d8f86c6c27fcc6ea3a6cdf9c # Parent c307ab54eb58a004012b413306676886cebf33fc (url-retrieve, url-retrieve-synchronously): Autoload. diff -r c307ab54eb58 -r ea32c9f0c8e7 lisp/url/url.el --- a/lisp/url/url.el Mon Jan 02 05:24:01 2006 +0000 +++ b/lisp/url/url.el Mon Jan 02 05:24:31 2006 +0000 @@ -1,7 +1,7 @@ ;;; url.el --- Uniform Resource Locator retrieval tool ;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, -;; 2005 Free Software Foundation, Inc. +;; 2005, 2006 Free Software Foundation, Inc. ;; Author: Bill Perry ;; Keywords: comm, data, processes, hypermedia @@ -114,6 +114,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Retrieval functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;;###autoload (defun url-retrieve (url callback &optional cbargs) "Retrieve URL asynchronously and call CALLBACK with CBARGS when finished. URL is either a string or a parsed URL. @@ -155,6 +156,7 @@ (url-history-update-url url (current-time))) buffer)) +;;;###autoload (defun url-retrieve-synchronously (url) "Retrieve URL synchronously. Return the buffer containing the data, or nil if there are no data