[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to disable C++ namespace indentation
From: |
chun |
Subject: |
how to disable C++ namespace indentation |
Date: |
Wed, 27 Jan 2010 12:53:07 -0800 (PST) |
User-agent: |
G2/1.0 |
In C++, I want to keep other indentations intact except for namespace
brackets, e.g.
namespace a {
struct A {
int b;
};
void c {
int d;
}
}
The above is what I want. I tried (c-set-offset 'innamespace 0).
However it disables automatic indentation at every line when I hit
return.
- how to disable C++ namespace indentation,
chun <=