comparison lisp/progmodes/cc-cmds.el @ 79936:996fec9cb719

Introduce elements for the syntactic symbol arglist-cont-nonempty into c-hanging-braces-alist. Amend pertinent functions and 5 styles.
author Alan Mackenzie <acm@muc.de>
date Sat, 26 Jan 2008 22:26:18 +0000
parents a1342e6e097a
children 61acfe106dae
comparison
equal deleted inserted replaced
79935:cfe1f3b29423 79936:996fec9cb719
522 (c-save-buffer-state 522 (c-save-buffer-state
523 ((syms 523 ((syms
524 ;; This is the list of brace syntactic symbols that can hang. 524 ;; This is the list of brace syntactic symbols that can hang.
525 ;; If any new ones are added to c-offsets-alist, they should be 525 ;; If any new ones are added to c-offsets-alist, they should be
526 ;; added here as well. 526 ;; added here as well.
527 '(class-open class-close defun-open defun-close 527 ;;
528 ;; The order of this list is important; if SYNTAX has several
529 ;; elements, the element that "wins" is the earliest in SYMS.
530 '(arglist-cont-nonempty ; e.g. an array literal.
531 class-open class-close defun-open defun-close
528 inline-open inline-close 532 inline-open inline-close
529 brace-list-open brace-list-close 533 brace-list-open brace-list-close
530 brace-list-intro brace-entry-open 534 brace-list-intro brace-entry-open
531 block-open block-close 535 block-open block-close
532 substatement-open statement-case-open 536 substatement-open statement-case-open