emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113109: * lisp/url/url-future.el (url-future-call):


From: Glenn Morris
Subject: [Emacs-diffs] trunk r113109: * lisp/url/url-future.el (url-future-call): Remove useless value call.
Date: Fri, 21 Jun 2013 06:33:08 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113109
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Thu 2013-06-20 23:32:50 -0700
message:
  * 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).
modified:
  lisp/url/ChangeLog             changelog-20091113204419-o5vbwnq5f7feedwu-3116
  lisp/url/url-future.el         urlfuture.el-20110531104714-2xpl4746ly8xw6nc-1
=== modified file 'lisp/url/ChangeLog'
--- a/lisp/url/ChangeLog        2013-05-23 04:58:09 +0000
+++ b/lisp/url/ChangeLog        2013-06-21 06:32:50 +0000
@@ -1,3 +1,7 @@
+2013-06-21  Glenn Morris  <address@hidden>
+
+       * url-future.el (url-future-call): Remove useless value call.
+
 2013-05-23  Glenn Morris  <address@hidden>
 
        * url.el (mm-dissect-buffer, mm-display-part): Declare.

=== modified file 'lisp/url/url-future.el'
--- a/lisp/url/url-future.el    2013-01-01 09:11:05 +0000
+++ b/lisp/url/url-future.el    2013-06-21 06:32:50 +0000
@@ -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))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]