Skip to content

Commit

Permalink
change cc-mode c style
Browse files Browse the repository at this point in the history
  • Loading branch information
cadl committed Jan 16, 2014
1 parent 3004f7d commit 4c1519e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions emacs/init-local.el
@@ -1,5 +1,4 @@
(add-to-list 'load-path "~/.emacs.d/elpa/auto-complete-clang")

(require 'auto-complete-clang)
(setq ac-clang-auto-save t)
(setq ac-auto-start t)
Expand All @@ -26,7 +25,7 @@
(global-auto-complete-mode t))
(defun my-ac-cc-mode-setup ()
(setq ac-sources (append '(ac-source-clang ac-source-yasnippet) ac-sources))
(c-set-style "cc-mode"))
(c-set-style "stroustrup"))
(add-hook 'c-mode-common-hook 'my-ac-cc-mode-setup)
;; ac-source-gtags
(my-ac-config)
Expand Down

0 comments on commit 4c1519e

Please sign in to comment.