aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorMiles Bader2007-11-21 04:55:58 +0000
committerMiles Bader2007-11-21 04:55:58 +0000
commitd4aa48db8ed36b1fc7e7b0e6bd35049353f7f96e (patch)
tree4a8c1381059835b73876f59183e228a2fb740d59 /lisp/url
parent3d9bd2bc2806ecaf85f4474060a7fadfd00e61fd (diff)
parent33127d1a78f2a37d68ffa09642df2f38d78e95b1 (diff)
downloademacs-d4aa48db8ed36b1fc7e7b0e6bd35049353f7f96e.tar.gz
emacs-d4aa48db8ed36b1fc7e7b0e6bd35049353f7f96e.zip
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-937
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/ChangeLog6
-rw-r--r--lisp/url/url.el4
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index e8ae7233c20..d5dd002cf7a 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -2,11 +2,15 @@
2 2
3 * url-mailto.el (mail-send-and-exit): 3 * url-mailto.el (mail-send-and-exit):
4 * url-http.el (url-dav-file-attributes): 4 * url-http.el (url-dav-file-attributes):
5 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal): 5 * url-file.el (ange-ftp-set-passwd, ange-ftp-copy-file-internal)
6 (url-generate-unique-filename): Declare as functions. 6 (url-generate-unique-filename): Declare as functions.
7 7
8 * url-privacy.el (url-device-type): Define unconditionally. 8 * url-privacy.el (url-device-type): Define unconditionally.
9 9
102007-11-15 Richard Stallman <rms@gnu.org>
11
12 * url.el (url-retrieve-synchronously): Call delete-process.
13
102007-10-31 Juanma Barranquero <lekktu@gmail.com> 142007-10-31 Juanma Barranquero <lekktu@gmail.com>
11 15
12 * url-vars.el (url-vars-unload-hook): Remove function and variable. 16 * url-vars.el (url-vars-unload-hook): Remove function and variable.
diff --git a/lisp/url/url.el b/lisp/url/url.el
index 3b292b4452d..c375a75e06f 100644
--- a/lisp/url/url.el
+++ b/lisp/url/url.el
@@ -241,7 +241,9 @@ no further processing). URL is either a string or a parsed URL."
241 ;; XXX: The callback must always be called. Any 241 ;; XXX: The callback must always be called. Any
242 ;; exception is a bug that should be fixed, not worked 242 ;; exception is a bug that should be fixed, not worked
243 ;; around. 243 ;; around.
244 (setq retrieval-done t)) 244 (progn ;; Call delete-process so we run any sentinel now.
245 (delete-process proc)
246 (setq retrieval-done t)))
245 ;; We used to use `sit-for' here, but in some cases it wouldn't 247 ;; We used to use `sit-for' here, but in some cases it wouldn't
246 ;; work because apparently pending keyboard input would always 248 ;; work because apparently pending keyboard input would always
247 ;; interrupt it before it got a chance to handle process input. 249 ;; interrupt it before it got a chance to handle process input.