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

change style initialization to interactive form php-set-style #377

Merged
merged 1 commit into from
Oct 14, 2017

Conversation

calbrecht
Copy link
Contributor

to be able to select the php-mode code style with the remapped
c-set-style key binding, to have a cleaner code base and reliable
setting of default values over previously set values when changing
the style.

style variables tab-width, fill-column, require-final-newline and
show-trailing-whitespace which are not present in all available
php-mode code styles get their values set from the global default
value on file eval time to the default "php" style.

c-set-style was called twice before this change, now it is called
once, so are the style mode hooks.

to be able to select the php-mode code style with the remapped
c-set-style key binding, to have a cleaner code base and reliable
setting of default values over previously set values when changing
the style.

style variables tab-width, fill-column, require-final-newline and
show-trailing-whitespace which are not present in all available
php-mode code styles get their values set from the global default
value on file eval time to the default "php" style.

c-set-style was called twice before this change, now it is called
once, so are the style mode hooks.
@calbrecht
Copy link
Contributor Author

fyi https://travis-ci.org/calbrecht/php-mode/builds/287927594 merged into the non-failing branch, all is fine.

@zonuexe zonuexe self-requested a review October 14, 2017 14:04
@zonuexe
Copy link
Member

zonuexe commented Oct 14, 2017

@calbrecht Awesome job!

I have made sure that this change works well in my environment. Thank you!

@zonuexe zonuexe merged commit 7820773 into emacs-php:master Oct 14, 2017
@calbrecht
Copy link
Contributor Author

Thank you @zonuexe :)

@calbrecht calbrecht deleted the php-set-style branch October 14, 2017 16:07
zonuexe added a commit that referenced this pull request Sep 16, 2019
`eq` does not return `T` for comparison of equivalent string objects
created separately.
This bug was embedded #377 .
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 this pull request may close these issues.

2 participants