diff options
| -rw-r--r-- | lisp/url/url.el | 4 |
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 @@ | |||
| 1 | ;;; url.el --- Uniform Resource Locator retrieval tool | 1 | ;;; url.el --- Uniform Resource Locator retrieval tool |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2001, 2004, |
| 4 | ;; 2005 Free Software Foundation, Inc. | 4 | ;; 2005, 2006 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Bill Perry <wmperry@gnu.org> | 6 | ;; Author: Bill Perry <wmperry@gnu.org> |
| 7 | ;; Keywords: comm, data, processes, hypermedia | 7 | ;; Keywords: comm, data, processes, hypermedia |
| @@ -114,6 +114,7 @@ Emacs." | |||
| 114 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 114 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 115 | ;;; Retrieval functions | 115 | ;;; Retrieval functions |
| 116 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 116 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 117 | ;;;###autoload | ||
| 117 | (defun url-retrieve (url callback &optional cbargs) | 118 | (defun url-retrieve (url callback &optional cbargs) |
| 118 | "Retrieve URL asynchronously and call CALLBACK with CBARGS when finished. | 119 | "Retrieve URL asynchronously and call CALLBACK with CBARGS when finished. |
| 119 | URL is either a string or a parsed URL. | 120 | URL is either a string or a parsed URL. |
| @@ -155,6 +156,7 @@ already completed." | |||
| 155 | (url-history-update-url url (current-time))) | 156 | (url-history-update-url url (current-time))) |
| 156 | buffer)) | 157 | buffer)) |
| 157 | 158 | ||
| 159 | ;;;###autoload | ||
| 158 | (defun url-retrieve-synchronously (url) | 160 | (defun url-retrieve-synchronously (url) |
| 159 | "Retrieve URL synchronously. | 161 | "Retrieve URL synchronously. |
| 160 | Return the buffer containing the data, or nil if there are no data | 162 | Return the buffer containing the data, or nil if there are no data |