I have the following:
int main()
{
int a = 1;
int b = 2;
return 0;
};
I am expecting some lint to align the indentation. My file is open with (C/*l AC Abbrev)
.
I try C-c .
which asks me:
Which C/*l indentation style?
I select k&r
and hit enter. Then nothing happens. I try the others, awk
, or python
, and same thing, no linting occurs to tab the int b
back over. When I try again with C-c .
it asks again but never lints my code.
What should I do to get formatting in C in emacs?