diff options
author | Alan Mackenzie <acm@muc.de> | 2019-06-12 19:17:22 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2019-06-12 19:17:22 +0000 |
commit | 468517c8b8322b07e202a2036e718e182ec569db (patch) | |
tree | 537e25522c5082f7d940aa0a1c70cd48fda953a3 /lisp/net | |
parent | 2d71e68428b10c593da2dd411d70ed2b4a8632c0 (diff) | |
download | emacs-468517c8b8322b07e202a2036e718e182ec569db.tar.gz emacs-468517c8b8322b07e202a2036e718e182ec569db.tar.bz2 emacs-468517c8b8322b07e202a2036e718e182ec569db.zip |
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.
Diffstat (limited to 'lisp/net')
0 files changed, 0 insertions, 0 deletions