[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 8f544c6: Describe error data in url-retrieve better
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 8f544c6: Describe error data in url-retrieve better |
Date: |
Wed, 15 May 2019 03:45:20 -0400 (EDT) |
branch: master
commit 8f544c610445e763c4fca4a2d6773a099385a3a6
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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 ed09477..5242d42 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 8f544c6: Describe error data in url-retrieve better,
Lars Ingebrigtsen <=