fix cut-and-paste error by using correct function name
Use google-make-newline-indent rather than google-set-c-style.
This commit is contained in:
parent
443c6bd80d
commit
b57789176c
|
@ -253,7 +253,7 @@
|
|||
:if (or 'c-c++-enable-google-style 'c-c++-enable-google-newline)
|
||||
:config (progn
|
||||
(when 'c-c++-enable-google-style (add-hook 'c-mode-common-hook 'google-set-c-style))
|
||||
(when 'c-c++-enable-google-newline (add-hook 'c-mode-common-hook 'google-set-c-style)))))
|
||||
(when 'c-c++-enable-google-newline (add-hook 'c-mode-common-hook 'google-make-newline-indent)))))
|
||||
|
||||
(defun c-c++/post-init-semantic ()
|
||||
(spacemacs/add-to-hooks 'semantic-mode c-c++-mode-hooks))
|
||||
|
|
Loading…
Reference in a new issue