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:
2025-06-19 12:19:46 +03:00
parent 177615481e
commit bfe91060fd

View File

@@ -166,10 +166,10 @@
(c-add-style "my-style"
'("k&r"
(c-basic-offset . 4)
(case-label . 0)
(inlambda . 0)
(inline-open . 0)
(innamespace . 4)))
(c-offsets-alist . ((case-label . 0)
(inlambda . 0)
(inline-open . 0)
(innamespace . 4)))))
(add-hook 'c-mode-common-hook
(lambda ()