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

laas--shut-up-smartparens doesn't work #47

Open
dankessler opened this issue Apr 4, 2024 · 0 comments
Open

laas--shut-up-smartparens doesn't work #47

dankessler opened this issue Apr 4, 2024 · 0 comments

Comments

@dankessler
Copy link

I was getting duplicated parens when inserting fractions and tracked down the issue to smartparens-mode.

It seems like laas tries to handle this through the function laas--shut-up-smartparens, so I was surprised that it wasn't working.

However, when deciding whether it needs to manipulate the post-self-insert-hook, it checks the default value of post-self-insert-hook rather than the present (potentially local) value. As far as I can tell, smartparens-mode modifies this hook locally and does not alter the default value. As a result, laas--shut-up-smartparens erroneously believes that it does not need to shut up smartparens-mode even though it should.

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

No branches or pull requests

1 participant