[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/url/url.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/url/url.el |
Date: |
Fri, 15 Jul 2005 01:11:28 -0400 |
Index: emacs/lisp/url/url.el
diff -c emacs/lisp/url/url.el:1.11 emacs/lisp/url/url.el:1.12
*** emacs/lisp/url/url.el:1.11 Mon Jul 4 16:37:19 2005
--- emacs/lisp/url/url.el Fri Jul 15 05:11:28 2005
***************
*** 123,131 ****
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun url-retrieve (url callback &optional cbargs)
"Retrieve URL asynchronously and call CALLBACK with CBARGS when finished.
! The callback is called when the object has been completely retrieved, with
the current buffer containing the object, and any MIME headers associated
! with it. URL is either a string or a parsed URL.
Return the buffer URL will load into, or nil if the process has
already completed."
--- 123,136 ----
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(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.
!
! CALLBACK is called when the object has been completely retrieved, with
the current buffer containing the object, and any MIME headers associated
! with it. Normally it gets the arguments in the list CBARGS.
! However, if what we find is a redirect, CALLBACK is given
! two additional args, `:redirect' and the redirected URL,
! followed by CBARGS.
Return the buffer URL will load into, or nil if the process has
already completed."