* lisp/url/url-future.el (url-future-call): Remove useless value call.

An earlier version of this function returned the value, ref
http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00708.html
but now it returns the function (see commentary).
This commit is contained in:
Glenn Morris 2013-06-20 23:32:50 -07:00
parent fd846ab406
commit 6bfd7cd07a
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-06-21 Glenn Morris <rgm@gnu.org>
* url-future.el (url-future-call): Remove useless value call.
2013-05-23 Glenn Morris <rgm@gnu.org>
* url.el (mm-dissect-buffer, mm-display-part): Declare.

View file

@ -84,7 +84,9 @@
(setf (url-future-value url-future)
(funcall ff))
(error (url-future-errored url-future catcher)))
(url-future-value url-future)))
;; Unused return value.
;;; (url-future-value url-future)
))
(if (url-future-errored-p url-future)
url-future
(url-future-finish url-future))))