emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 61b63f4: * lisp/emacs-lisp/thunk.el (thunk-delay):


From: Nicolas Petton
Subject: [Emacs-diffs] master 61b63f4: * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
Date: Wed, 28 Oct 2015 08:56:27 +0000

branch: master
commit 61b63f460ddfb443e2575e4fa7e7714b17579659
Author: Nicolas Petton <address@hidden>
Commit: Nicolas Petton <address@hidden>

    * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
---
 lisp/emacs-lisp/thunk.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/thunk.el b/lisp/emacs-lisp/thunk.el
index d07b257..0c5816a 100644
--- a/lisp/emacs-lisp/thunk.el
+++ b/lisp/emacs-lisp/thunk.el
@@ -57,8 +57,8 @@
              ,forced
            (unless ,forced
              (setf ,val (progn ,@body))
-             (setf ,forced t)))
-         ,val))))
+             (setf ,forced t))
+           ,val)))))
 
 (defun thunk-force (delayed)
   "Force the evaluation of DELAYED.



reply via email to

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