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

Make c-default-style local #75

Open
xendk opened this issue Oct 1, 2016 · 1 comment
Open

Make c-default-style local #75

xendk opened this issue Oct 1, 2016 · 1 comment
Assignees

Comments

@xendk
Copy link
Collaborator

xendk commented Oct 1, 2016

While trying to track down my "somehow c-basic-indent is always 2 per default in non-Drupal php buffers", I notice we fiddle with c-default-style:

https://github.com/arnested/drupal-mode/blob/develop/drupal-mode.el#L351

The side effect of this is that customize says it's modified outside of customize (which is true). I'm not aware of any "make customize suggest this change to a variable", so wouldn't the next best thing be setting it to be buffer local (assuming that works)?

@xendk
Copy link
Collaborator Author

xendk commented Feb 9, 2021

Dammit Jim!

Should check on what editorconfig-emacs does, it's basically doing the same thing for all kinds of file types.

And what should happen if one has an .editorconfig in a Drupal project that specifies 4 spaces?

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