Fix chaotic indentation of C++ lambda. Enhance documentation thereof
commitd602785139c57274e835e7b56305d42e72a28b0d
authorAlan Mackenzie <acm@muc.de>
Sun, 19 Mar 2017 17:09:27 +0000 (19 17:09 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 19 Mar 2017 17:09:27 +0000 (19 17:09 +0000)
tree061f6897800a770e85a5014fc4f4b8bfcafe85fb
parent06a796398646fd1a5e17bc7321e12ae8e061e7f7
Fix chaotic indentation of C++ lambda.  Enhance documentation thereof

* lisp/progmodes/cc-engine.el (c-looking-at-inexpr-block): qualify an
invocation of c-on-identifier with a check we're not at the _end_ of an
identifier.

* doc/misc/cc-mode.texi: (Tex title page): Remove @subtitlefont because the
perl versions of texi2dvi haven't implemented it.
(Syntactic Symbols): Note that `inlambda' is also used in C++ Mode, not just
in Pike Mode.
(Statement Block Symbols): Add a section illustrating a C++ lambda function.
(FAQ): Add a question about "excessive" indentation of the contents of a C++
lambda function, and how to get rid of it.
doc/misc/cc-mode.texi
lisp/progmodes/cc-engine.el