Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 9, 2018

Due to a previous refactoring of the font-locking a bug was introduced
where font-locking was delayed. This happened because
c-before-font-lock-functions did not include the function
c-change-expand-fl-region. This commit adds it back to the cc-mode
variable, so font-locking will not be delayed.

Github Issue: #414

Due to a previous refactoring of the font-locking a bug was introduced
where font-locking was delayed. This happened because
c-before-font-lock-functions did not include the function
c-change-expand-fl-region. This commit adds it back to the cc-mode
variable, so font-locking will not be delayed.

c-depropertize-new-text was introduced in current emacs master (will
probably be part of emacs 26?) and c-change-expand-fl-region was
introduced in emacs 25. These will be checked before calling
c-lang-defconst.

Github Issue: #414
@ghost
Copy link
Author

ghost commented Feb 9, 2018

Fixed the tests and rebased so there is only one commit (for readability).

@zonuexe zonuexe merged commit 0b63d2d into emacs-php:master Feb 9, 2018
@zonuexe
Copy link
Member

zonuexe commented Feb 9, 2018

@fallchildren Thanks!

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.

1 participant