branch: externals/org commit dbea900d60988bb492b6d61c8e66388329eb4b88 Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
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 054f080750..da11258f2d 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)