Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

WITH-CONTEXT macro not changing the current context. #38

Open
HectareaGalbis opened this issue Dec 23, 2021 · 0 comments
Open

WITH-CONTEXT macro not changing the current context. #38

HectareaGalbis opened this issue Dec 23, 2021 · 0 comments

Comments

@HectareaGalbis
Copy link

HectareaGalbis commented Dec 23, 2021

Here is the definition of WITH-CONTEXT:

(defmacro with-context (window &body body)
  `(let* ((*window* ,window))
     ,@body))

The special variable *window* is changed but not the current context of the window, and the name of the macro, imo, suggest that the current context of the window is also changed. I think this can be confusing.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant