From 2b5b8e5ff82fb228eb03e4b97215191dcc857822 Mon Sep 17 00:00:00 2001 From: Robin Templeton Date: Mon, 11 Aug 2014 06:55:11 -0400 Subject: deprecated eval-when situations (Best-ability ChangeLog annotation added by Christopher Allan Webber.) * module/language/elisp/compile-tree-il.scm (eval-when): Update. --- module/language/elisp/compile-tree-il.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/module/language/elisp/compile-tree-il.scm b/module/language/elisp/compile-tree-il.scm index c683545d2..0e5e535d8 100644 --- a/module/language/elisp/compile-tree-il.scm +++ b/module/language/elisp/compile-tree-il.scm @@ -474,9 +474,12 @@ (defspecial eval-when (loc args) (pmatch args ((,situations . ,forms) - (let ((compile? (memq ':compile-toplevel situations)) - (load? (memq ':load-toplevel situations)) - (execute? (memq ':execute situations))) + (let ((compile? (or (memq ':compile-toplevel situations) + (memq 'compile situations))) + (load? (or (memq ':load-toplevel situations) + (memq 'load situations))) + (execute? (or (memq ':execute situations) + (memq 'eval situations)))) (cond ((not (fluid-ref toplevel?)) (if execute? -- cgit v1.2.3