summaryrefslogtreecommitdiff
path: root/lisp/url/url.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2006-01-02 05:24:31 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2006-01-02 05:24:31 +0000
commit2ef88a693d9c145efd2eff042ddcc3c311215f71 (patch)
treea04048a087fa31bb97e44060f8169943ff147ebe /lisp/url/url.el
parent8abe1fd585d4cb604ff8a72ee375dd3f2186450c (diff)
downloademacs-2ef88a693d9c145efd2eff042ddcc3c311215f71.tar.gz
(url-retrieve, url-retrieve-synchronously): Autoload.
Diffstat (limited to 'lisp/url/url.el')
-rw-r--r--lisp/url/url.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/url/url.el b/lisp/url/url.el
index 6d6540ac82a..f9d06010171 100644
--- a/lisp/url/url.el
+++ b/lisp/url/url.el
@@ -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 <wmperry@gnu.org>
;; Keywords: comm, data, processes, hypermedia
@@ -114,6 +114,7 @@ Emacs."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; 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 @@ already completed."
(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