summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-vars.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2019-06-02 14:05:33 +0000
committerAlan Mackenzie <acm@muc.de>2019-06-02 14:05:33 +0000
commit30b0c5bf42efb27b7afc5a7cf715bae2fe09923c (patch)
tree7b62b21ca39d067227cefb8c2b2b136beef63b6f /lisp/progmodes/cc-vars.el
parentd920ec617b5768167f6a14167ed2cc590f45dda7 (diff)
downloademacs-30b0c5bf42efb27b7afc5a7cf715bae2fe09923c.tar.gz
Change default offset of CC Mode syntactic symbol inlambda to 0
It's previous default was c-lineup-inexpr-block. This change is mainly to prevent excessive indentation of the innards of C++ lambda functions. * lisp/progmodes/cc-vars.el (c-offsets-alist): Amend the offset for inlambda to 0. * doc/misc/cc-mode.texi (FAQ): Amend the answer to the question about this matter.
Diffstat (limited to 'lisp/progmodes/cc-vars.el')
-rw-r--r--lisp/progmodes/cc-vars.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index b818bced730..79bd6a92950 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -1210,7 +1210,7 @@ can always override the use of `c-default-style' by making calls to
(template-args-cont . (c-lineup-template-args +))
;; Anchor pos: Boi at the decl start. This might be changed;
;; the logical position is clearly the opening '<'.
- (inlambda . c-lineup-inexpr-block)
+ (inlambda . 0)
;; Anchor pos: None.
(lambda-intro-cont . +)
;; Anchor pos: Boi at the lambda start.