Skip to content

Comments

Setup slime contribs if set before loading.#24

Open
mtstickney wants to merge 1 commit intoquicklisp:masterfrom
mtstickney:customizable_contribs
Open

Setup slime contribs if set before loading.#24
mtstickney wants to merge 1 commit intoquicklisp:masterfrom
mtstickney:customizable_contribs

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