]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
authorNicolas Petton <nicolas@petton.fr>
Wed, 28 Oct 2015 08:54:00 +0000 (09:54 +0100)
committerNicolas Petton <nicolas@petton.fr>
Wed, 28 Oct 2015 08:56:03 +0000 (09:56 +0100)
lisp/emacs-lisp/thunk.el

index d07b25736aa2203e86b6aa7226d207f527ba09d7..0c5816a616da50950214317392cb3eac9dcf85b6 100644 (file)
@@ -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.