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

lispy unexpectedly expands shorthands in elisp #659

Open
RuijieYu opened this issue Apr 30, 2023 · 1 comment · May be fixed by #661
Open

lispy unexpectedly expands shorthands in elisp #659

RuijieYu opened this issue Apr 30, 2023 · 1 comment · May be fixed by #661

Comments

@RuijieYu
Copy link
Contributor

Should probably let-bind read-symbol-shorthands to nil when calling read.

@RuijieYu
Copy link
Contributor Author

I guess I never explained the context.

When I try to format this code:

( kabb-foo )

where the variable read-symbol-shorthands is set buffer-locally as (("kabb" . "kill-all-buffers-below")), lispy would expand the kabb prefix into kill-all-buffers-below, invalidating the whole purpose of setting this variable buffer-locally in the first place.

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 a pull request may close this issue.

1 participant