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:
Richard Kim 2017-12-26 10:03:35 -08:00 committed by syl20bnr
parent 443c6bd80d
commit b57789176c

View file

@ -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))