diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-ccc.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/init-ccc.el b/lisp/init-ccc.el new file mode 100644 index 0000000..bc3573c --- /dev/null +++ b/lisp/init-ccc.el @@ -0,0 +1,14 @@ +;;---------------------------------------------------------------------------- +;; c++ Mode +;;---------------------------------------------------------------------------- +(add-hook 'c++-mode-hook + (lambda () + (setq indent-tabs-mode t) + (setq c-basic-offset 4) + (setq tab-width 4))) + +;; This is my default indent. +;; After moving the cursor to line 2 I see that the relevant symbol is comment-intro. +(c-set-offset 'comment-intro 6) + +(provide 'init-ccc) |