summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-vars.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2008-01-27 13:59:47 +0000
committerAlan Mackenzie <acm@muc.de>2008-01-27 13:59:47 +0000
commit4fae8922bea01886f04e534c26b12f2876fefb80 (patch)
tree385463cf69533f0aaccf73959e2bd260eab24a96 /lisp/progmodes/cc-vars.el
parent3e5558010a804bfda1b176b93b81af4eceeb2cb7 (diff)
downloademacs-4fae8922bea01886f04e534c26b12f2876fefb80.tar.gz
Introduce elements for the syntactic symbol arglist-cont-nonempty into
c-hanging-braces-alist. Amend pertinent functions and 5 styles.
Diffstat (limited to 'lisp/progmodes/cc-vars.el')
-rw-r--r--lisp/progmodes/cc-vars.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index c217e6e6871..8b7b9cd24ee 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -729,7 +729,8 @@ involve auto-newline inserted newlines:
(module-open after)
(composition-open after)
(inexpr-class-open after)
- (inexpr-class-close before))
+ (inexpr-class-close before)
+ (arglist-cont-nonempty))
"*Controls the insertion of newlines before and after braces
when the auto-newline feature is active. This variable contains an
association list with elements of the following form:
@@ -783,7 +784,8 @@ syntactic context for the brace line."
namespace-open namespace-close
module-open module-close
composition-open composition-close
- inexpr-class-open inexpr-class-close)))
+ inexpr-class-open inexpr-class-close
+ arglist-cont-nonempty)))
:group 'c)
(defcustom c-max-one-liner-length 80