summaryrefslogtreecommitdiff
path: root/lisp/vcursor.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2018-12-07 17:38:03 +0000
committerAlan Mackenzie <acm@muc.de>2018-12-07 17:39:38 +0000
commitf6a69957d654f0d0d870209da303b4e9360d577e (patch)
tree940a89be49699d8cc507714c7daa2bd00847051d /lisp/vcursor.el
parent294b2c2bb71f1f7e7024a854d4a4ae43785d9594 (diff)
downloademacs-f6a69957d654f0d0d870209da303b4e9360d577e.tar.gz
CC Mode: Compensate for backward-sexp ignoring trailing commas after {...}
This fixes bug #32808. * lisp/progmodes/cc-engine.el (c-beginning-of-statement-1): New variable comma-delimited, set when we're about to scan backward over a comma. Do not reckon a brace block as bounding a statement when it is followed or preceded by a comma (except when argument comma-delim is non-nil). (c-guess-basic-syntax, CASE 9C): Call c-beginning-of-statement-1 with argument comma-delim changed to non-nil.
Diffstat (limited to 'lisp/vcursor.el')
0 files changed, 0 insertions, 0 deletions