Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Prefix internal names to avoid global namespace pollution #67

Merged

Conversation

slippycheeze
Copy link
Contributor

Sadly, Emacs Lisp has no namespaces, so every top level definition is
visible to the entire universe. That includes variables and
functions.

This commit prefixes them to avoid "leaking" them in a way that could
conflict with other code. The convention of package-- is used to
mirror the most current Emacs coding conventions.

There are no functional changes from this modification.

Closes #66

Sadly, Emacs Lisp has no namespaces, so every top level definition is
visible to the entire universe.  That includes variables and
functions.

This commit prefixes them to avoid "leaking" them in a way that could
conflict with other code.  The convention of `package--` is used to
mirror the most current Emacs coding conventions.

There are no functional changes from this modification.

Closes nordtheme#66
@arcticicestudio arcticicestudio merged commit c4e0b55 into nordtheme:develop Sep 13, 2018
@slippycheeze slippycheeze deleted the no-global-namespace-pollution branch September 23, 2018 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nord-theme leaks unprefixed names to the global environment
2 participants