]> git.eshelyaron.com Git - emacs.git/commit
CC Mode. Preserve space syntax-table props in open strings
authorAlan Mackenzie <acm@muc.de>
Sun, 31 Dec 2023 11:02:50 +0000 (11:02 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 31 Dec 2023 11:02:50 +0000 (11:02 +0000)
commit91f316d293150c6d025c61949c24fc07136fb1fd
tree7fdf654a933ec98af15197c10532aea8713f7432
parentbbd372da53302daa771efe0350bf46783aba3af7
CC Mode.  Preserve space syntax-table props in open strings

This fixes bug#68111, allowing, e.g., backward-kill-word to
work properly.

* lisp/progmodes/cc-mode.el (c-clear-string-fences): On an open
string which isn't followed by another string, remove the
syntax-table properties just from template delimiters rather
than setting the syntax-table properties of all the string to
punctuation.
lisp/progmodes/cc-mode.el