diff options
author | Jesús <heckyel@hyperbola.info> | 2019-01-22 15:45:41 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-01-22 15:45:41 -0500 |
commit | ced0fe8f9ef7cd16ade900bb34393c627f6d0c69 (patch) | |
tree | 350d3a0cbb87b12a36c0dc12537c56a75a2668ae /modules/init-ccc.el | |
parent | d0f44d85466d7211d54e30970f29815842ff4180 (diff) | |
download | emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.lz emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.tar.xz emacs-personal-ced0fe8f9ef7cd16ade900bb34393c627f6d0c69.zip |
Change directory lisp/ to modules/
FS #2
Diffstat (limited to 'modules/init-ccc.el')
-rw-r--r-- | modules/init-ccc.el | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/init-ccc.el b/modules/init-ccc.el new file mode 100644 index 0000000..6733f3e --- /dev/null +++ b/modules/init-ccc.el @@ -0,0 +1,25 @@ +;;; init-ccc.el --- .Emacs Configuration -*- lexical-binding: t -*- +;;; Commentary: +;; + +;;; Code: + +;;---------------------------------------------------------------------------- +;; 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) + +;; Local Variables: +;; byte-compile-warnings: (not free-vars) +;; End: +;;; init-ccc.el ends here |