Skip to content

Commit

Permalink
Use new indirect function CONSTANT-VARIABLE.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-strandh committed Sep 27, 2020
1 parent 61f5b95 commit 2dabdd3
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@
(make-instance 'sicl-environment:constant-variable-description
:value initial-value))))
(eval-when (:load-toplevel :execute)
(let* ((,env-var (sicl-environment:global-environment))
(,client-var (sicl-environment:client ,env-var)))
(setf (sicl-environment:constant-variable
,client-var ,env-var ',name)
,initial-value))))))
(setf (constant-variable ',name) ,initial-value)))))

0 comments on commit 2dabdd3

Please sign in to comment.