]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: In brace lists, anchor an elt on its predecessor, not on first elt
authorAlan Mackenzie <acm@muc.de>
Sat, 9 Jun 2018 17:34:46 +0000 (17:34 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 9 Jun 2018 17:34:46 +0000 (17:34 +0000)
commit66ad98685afa9ee3bc1ec2aeb116f41a2a7875b3
tree0ecd2fbaf836eedc0c94b30ee1e835ad43a90dd9
parentb4dcac2d6ae376788dca11b88b874a9ecaf986df
CC Mode: In brace lists, anchor an elt on its predecessor, not on first elt

* lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): At the end, accept
"." as a unary operator (which it now is in brace lists in, e.g., C Mode).
(c-guess-basic-syntax): Just before CASE 9C, move back to the previous brace
list entry in the block, rather than to the first one.
lisp/progmodes/cc-engine.el