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

Setup slime contribs if set before loading. #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mtstickney
Copy link

In order to allow a customizable set of slime contribs to be setup
when loading the helper, check whether slime-contribs has been set,
and if so pass that list to slime-setup; otherwise fall back on the
default '(slime-fancy) list.

slime-setup will use slime-contribs if it is called with no arguments,
and the default value for slime-contribs is '(slime-fancy), so this
could be done by calling slime-setup with no arguments. However, I'm
not certain if that is the case with all relevant versions of slime,
and we are already relying on the explicit-argument form, so that's
the conservative choice here.

This should fix #10, if it's acceptable.

In order to allow a customizable set of slime contribs to be setup
when loading the helper, check whether slime-contribs has been set,
and if so pass that list to slime-setup; otherwise fall back on the
default '(slime-fancy) list.

slime-setup will use slime-contribs if it is called with no arguments,
and the default value for slime-contribs is '(slime-fancy), so this
could be done by calling slime-setup with no arguments. However, I'm
not certain if that is the case with all relevant versions of slime,
and we are already relying on the explicit-argument form, so that's
the conservative choice here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Customization of loaded contribs
1 participant