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 argument to sly-switch-to-most-recent fails to prompt. #290

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

equwal
Copy link
Contributor

@equwal equwal commented Dec 12, 2019

Was going through and documenting prefix and negative prefix arguments.

C-u M-x sly-switch-to-most-recent is documented to prompt for the mode, but actually behaves the same as no prefix argument. This is simply due to an incorrectly named variable.

* sly.el (sly-switch-to-most-recent): change prefix-arg to
current-prefix-arg, since the former does not store anything.
@joaotavora joaotavora merged commit c6f06a5 into joaotavora:master Dec 12, 2019
@joaotavora
Copy link
Owner

Was going through and documenting prefix and negative prefix arguments.

Great!

Pushed with a tweak to the commit message.

@equwal equwal deleted the fix-cu-sly-switch branch December 12, 2019 22:36
@equwal
Copy link
Contributor Author

equwal commented Dec 12, 2019

Was going through and documenting prefix and negative prefix arguments.

Great!

As promised: #292

equwal pushed a commit to equwal/sly that referenced this pull request Dec 13, 2019
Fix joaotavora#290: actually have sly-switch-to-most-recent use prefix arg
equwal pushed a commit to equwal/sly that referenced this pull request Dec 13, 2019
…x arg

* sly.el (sly-switch-to-most-recent): change prefix-arg to
current-prefix-arg, since the former does not store anything.
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.

None yet

2 participants