We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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.
laas
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.
post-self-insert-hook
smartparens-mode
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 functionlaas--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 ofpost-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 upsmartparens-mode
even though it should.The text was updated successfully, but these errors were encountered: