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

Use empty temp buffers in mmm-update-mode-info #28

Open
dgutov opened this issue Apr 2, 2013 · 0 comments
Open

Use empty temp buffers in mmm-update-mode-info #28

dgutov opened this issue Apr 2, 2013 · 0 comments
Labels

Comments

@dgutov
Copy link
Owner

dgutov commented Apr 2, 2013

Barring some extra special cases, the only reason to use an indirect buffer here I can think of is file-local variables. But we can capture those in the parent buffer (file-local-variables-alist), then let-bind this var in the temp buffer and call hack-local-variables.

This will also bring us a step closer to fixing #25, because sql-mode sets font-lock variables in hack-local-variables-hook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant