dot-emacs: Fiddle C indentation settings.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 26 Feb 2008 17:29:42 +0000 (17:29 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 26 Feb 2008 17:36:45 +0000 (17:36 +0000)
Emacs 22's C mode interprets the `inclass' indentation key differently
for some reason.  (Actually it seems more sensible now.)

This might need more vigorous fiddling if it causes problems with older
Emacsen.

dot-emacs.el

index de720a0..1a1b90a 100644 (file)
@@ -658,7 +658,7 @@ doesn't cope with anything approximating a complicated case."
                                  (label . 0)
                                  (case-label . +)
                                  (access-label . -)
-                                 (inclass . ++)
+                                 (inclass . +)
                                  (inline-open . ++)
                                  (statement-cont . 0)
                                  (statement-case-intro . +)))