Fix my C style offsets not being applied
Because they need to be in c-offsets-alist section of the style
This commit is contained in:
@@ -166,10 +166,10 @@
|
|||||||
(c-add-style "my-style"
|
(c-add-style "my-style"
|
||||||
'("k&r"
|
'("k&r"
|
||||||
(c-basic-offset . 4)
|
(c-basic-offset . 4)
|
||||||
(case-label . 0)
|
(c-offsets-alist . ((case-label . 0)
|
||||||
(inlambda . 0)
|
(inlambda . 0)
|
||||||
(inline-open . 0)
|
(inline-open . 0)
|
||||||
(innamespace . 4)))
|
(innamespace . 4)))))
|
||||||
|
|
||||||
(add-hook 'c-mode-common-hook
|
(add-hook 'c-mode-common-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
|||||||
Reference in New Issue
Block a user