#define INIT_MACRO create(); some(); enviroment();
...
void function(){
INIT_MACRO
extra_indented();
normal_indented();
}
how do i make emacs deal correctly with the above situation when it is requested to automatically indent?
EDIT the only solution i see is to tell emacs to treat lines containing only caps, underscores and spaces as if they have a semicolon at the end… but how would i do that?
This works:
It is usually better to use this trick to avoid problems when you use:
and a semicolon on each line is easier to read in my opinion.