From 8f544c610445e763c4fca4a2d6773a099385a3a6 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 15 May 2019 09:45:08 +0200 Subject: [PATCH] Describe error data in url-retrieve better * lisp/url/url.el (url-retrieve): Describe the error data more in depth (bug#25735). --- lisp/url/url.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/url/url.el b/lisp/url/url.el index ed0947795b0..5242d42f04c 100644 --- a/lisp/url/url.el +++ b/lisp/url/url.el @@ -136,9 +136,11 @@ STATUS is a plist representing what happened during the request, with most recent events first, or an empty list if no events have occurred. Each pair is one of: -\(:redirect REDIRECTED-TO) - the request was redirected to this URL -\(:error (ERROR-SYMBOL . DATA)) - an error occurred. The error can be -signaled with (signal ERROR-SYMBOL DATA). +\(:redirect REDIRECTED-TO) - the request was redirected to this URL. + +\(:error (error type . DATA)) - an error occurred. TYPE is a +symbol that says something about where the error occurred, and +DATA is a list (possibly nil) that describes the error further. Return the buffer URL will load into, or nil if the process has already completed (i.e. URL was a mailto URL or similar; in this case -- 2.39.2