mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/cc: fix #2097 wrong-type-arg listp on c-default-style
This commit is contained in:
@ -114,7 +114,8 @@ This is ignored by ccls.")
|
||||
(inclass +cc-c++-lineup-inclass +)
|
||||
(label . 0))))
|
||||
|
||||
(setf (alist-get 'other c-default-style) "doom"))
|
||||
(when (listp c-default-style)
|
||||
(setf (alist-get 'other c-default-style) "doom")))
|
||||
|
||||
|
||||
(use-package! modern-cpp-font-lock
|
||||
|
Reference in New Issue
Block a user