Mercurial > emacs
changeset 11110:5f696061a082
(c-style-alist): Set c-continued-brace-offset and
c-brace-offset in all styles, so that they don't inherit a trash
value from a previously set style.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Fri, 24 Mar 1995 02:50:54 +0000 |
parents | d67cbc284d24 |
children | e3022a32d11d |
files | lisp/progmodes/c-mode.el |
diffstat | 1 files changed, 11 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/c-mode.el Fri Mar 24 00:48:45 1995 +0000 +++ b/lisp/progmodes/c-mode.el Fri Mar 24 02:50:54 1995 +0000 @@ -128,31 +128,36 @@ (c-indent-level . 2) (c-argdecl-indent . 5) (c-brace-offset . 0) + (c-continued-brace-offset . 0) (c-label-offset . -2) (c-continued-statement-offset . 2)) ("K&R" (c-indent-level . 5) (c-argdecl-indent . 0) - (c-brace-offset . -5) + (c-brace-offset . 0) + (c-continued-brace-offset . -5) (c-label-offset . -5) (c-continued-statement-offset . 5)) ("BSD" (c-indent-level . 4) (c-argdecl-indent . 4) + (c-brace-offset . 0) (c-continued-brace-offset . -4) (c-label-offset . -4) (c-continued-statement-offset . 4)) ("C++" - (c-indent-level . 4) - (c-continued-statement-offset . 4) - (c-brace-offset . -4) - (c-argdecl-indent . 0) + (c-indent-level . 4) + (c-argdecl-indent . 0) + (c-brace-offset . 0) + (c-continued-brace-offset . -4) (c-label-offset . -4) - (c-auto-newline . t)) + (c-continued-statement-offset . 4) + (c-auto-newline . t)) ("Whitesmith" (c-indent-level . 4) (c-argdecl-indent . 4) (c-brace-offset . 0) + (c-continued-brace-offset . 0) (c-label-offset . -4) (c-continued-statement-offset . 4))))