comparison lisp/progmodes/cc-vars.el @ 88022:a31afa284500

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 Sun, 27 Jan 2008 13:59:47 +0000
parents 5d58981e6690
children c70e45a7acfd 1e3a407766b9
comparison
equal deleted inserted replaced
88021:1ccfdc58f4eb 88022:a31afa284500
727 (extern-lang-open after) 727 (extern-lang-open after)
728 (namespace-open after) 728 (namespace-open after)
729 (module-open after) 729 (module-open after)
730 (composition-open after) 730 (composition-open after)
731 (inexpr-class-open after) 731 (inexpr-class-open after)
732 (inexpr-class-close before)) 732 (inexpr-class-close before)
733 (arglist-cont-nonempty))
733 "*Controls the insertion of newlines before and after braces 734 "*Controls the insertion of newlines before and after braces
734 when the auto-newline feature is active. This variable contains an 735 when the auto-newline feature is active. This variable contains an
735 association list with elements of the following form: 736 association list with elements of the following form:
736 \(SYNTACTIC-SYMBOL . ACTION). 737 \(SYNTACTIC-SYMBOL . ACTION).
737 738
781 brace-list-intro brace-entry-open 782 brace-list-intro brace-entry-open
782 extern-lang-open extern-lang-close 783 extern-lang-open extern-lang-close
783 namespace-open namespace-close 784 namespace-open namespace-close
784 module-open module-close 785 module-open module-close
785 composition-open composition-close 786 composition-open composition-close
786 inexpr-class-open inexpr-class-close))) 787 inexpr-class-open inexpr-class-close
788 arglist-cont-nonempty)))
787 :group 'c) 789 :group 'c)
788 790
789 (defcustom c-max-one-liner-length 80 791 (defcustom c-max-one-liner-length 80
790 "Maximum length of line that clean-up \"one-liner-defun\" will compact to. 792 "Maximum length of line that clean-up \"one-liner-defun\" will compact to.
791 Zero or nil means no limit." 793 Zero or nil means no limit."