(defun check-namespace-indent (arg)
(save-excursion
(back-to-indentation)
- (if (looking-at "namespace") [0] '+)))
+ (if (and (looking-at "namespace")
+ (looking-at ".*{")
+ (not (looking-at ".*}")))
+ [0] '+)))
(defconst senf-c-style
'((c-basic-offset . 4)