CC Mode: Add a workaround for syntax-ppss ignoring syntax-table prop changes
* lisp/progmodes/cc-engine.el (c-truncate-lit-pos-cache): Maintain the new variable c-syntax-table-hwm after buffer changes. * lisp/progmodes/cc-mode.el (c-syntax-table-hwm): New variable. (c-before-change): Set c-syntax-table-hwm to "infinity". (c-after-change): Call syntax-ppss-flush-cache, just before a font locking is due to take place.
Name | Stage | Failure | ||
---|---|---|---|---|
failed
|
test-all | Test | There has been a runner system failure, please try again | |
|