Skip to content
This repository has been archived by the owner on Dec 29, 2018. It is now read-only.

defsyntax doesn't work as expected. #10

Closed
tmccombs opened this issue Jul 21, 2014 · 0 comments · Fixed by #11
Closed

defsyntax doesn't work as expected. #10

tmccombs opened this issue Jul 21, 2014 · 0 comments · Fixed by #11

Comments

@tmccombs
Copy link
Contributor

There are a couple of problems with using defsyntax rather thand define-package-syntax.

First, defsyntax doesn't actually define a variable with the given name, as the documentation suggests. (The documentation seems outdated, it uses :dispatch-macro-character rather than :dispatch-macro-char).

Secondly, use-syntax assumes that the name is the name of a package, and uses package-syntax-name, on the name to get the options rather than just using the name, when it is not in fact a package.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant