From dbea900d60988bb492b6d61c8e66388329eb4b88 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Fri, 3 May 2024 16:25:00 +0300 Subject: [PATCH] test-ob/org-babel-read: Fix for Emacs 27 * testing/lisp/test-ob.el (test-ob/org-babel-read): Do not use `dlet' that is not yet available in Emacs 27. --- testing/lisp/test-ob.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/lisp/test-ob.el b/testing/lisp/test-ob.el index 054f08075..da11258f2 100644 --- a/testing/lisp/test-ob.el +++ b/testing/lisp/test-ob.el @@ -2590,7 +2590,8 @@ abc [1 2 (foo)]) (org-babel-read "[1 2 (foo)]" inhibit))) ;; Special case: *this* literal is evaluated - (dlet ((*this* 100)) + (defvar *this* nil) + (let ((*this* 100)) (should (equal (if inhibit "*this*" 100)