diff options
| author | Richard M. Stallman | 1995-03-15 23:04:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-03-15 23:04:06 +0000 |
| commit | e7e7be7c5c1793b994b9171ce334b268d3cc2df9 (patch) | |
| tree | 8de025f4e6ad0026ba0070db43d1a735bda02097 | |
| parent | 9b8002ba7de817e35ad45116ec8d7e061ced2c1d (diff) | |
| download | emacs-e7e7be7c5c1793b994b9171ce334b268d3cc2df9.tar.gz emacs-e7e7be7c5c1793b994b9171ce334b268d3cc2df9.zip | |
(c-style-alist): For BSD, set c-continued-brace-offset
instead of c-brace-offset.
| -rw-r--r-- | lisp/progmodes/c-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 244f77a9596..b0c962dcae1 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el | |||
| @@ -119,7 +119,7 @@ The expansion is entirely correct because it uses the C preprocessor." | |||
| 119 | "*Extra indent for lines not starting new statements.") | 119 | "*Extra indent for lines not starting new statements.") |
| 120 | (defconst c-continued-brace-offset 0 | 120 | (defconst c-continued-brace-offset 0 |
| 121 | "*Extra indent for substatements that start with open-braces. | 121 | "*Extra indent for substatements that start with open-braces. |
| 122 | This is in addition to c-continued-statement-offset.") | 122 | This is in addition to `c-continued-statement-offset'.") |
| 123 | (defconst c-style-alist | 123 | (defconst c-style-alist |
| 124 | '(("GNU" | 124 | '(("GNU" |
| 125 | (c-indent-level . 2) | 125 | (c-indent-level . 2) |
| @@ -136,7 +136,7 @@ This is in addition to c-continued-statement-offset.") | |||
| 136 | ("BSD" | 136 | ("BSD" |
| 137 | (c-indent-level . 4) | 137 | (c-indent-level . 4) |
| 138 | (c-argdecl-indent . 4) | 138 | (c-argdecl-indent . 4) |
| 139 | (c-brace-offset . -4) | 139 | (c-continued-brace-offset . -4) |
| 140 | (c-label-offset . -4) | 140 | (c-label-offset . -4) |
| 141 | (c-continued-statement-offset . 4)) | 141 | (c-continued-statement-offset . 4)) |
| 142 | ("C++" | 142 | ("C++" |