diff options
| author | Luke Hoersten <[email protected]> | 2014-11-19 18:45:01 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2014-11-19 18:45:01 -0600 |
| commit | 08c5c139bd0e6bbca01870bce66dd4eaddca747e (patch) | |
| tree | bf2b2c9f0d0873cbbe9509e9c63b804f7a3c15e8 /lisp/hoersten-c-style.el | |
| parent | 64e2e855eb6ef29970a1edabf84ed81c5e855a56 (diff) | |
Moved lisp files to their own dir.
Diffstat (limited to 'lisp/hoersten-c-style.el')
| -rw-r--r-- | lisp/hoersten-c-style.el | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/lisp/hoersten-c-style.el b/lisp/hoersten-c-style.el new file mode 100644 index 0000000..043a499 --- /dev/null +++ b/lisp/hoersten-c-style.el @@ -0,0 +1,36 @@ +;; ~/.emacs.d/hoersten-c-style.el +;; Luke Hoersten <[email protected]> + +;; hoersten c++-style +(c-add-style + "hoersten" + '(;; indentation + (indent-tabs-mode . t) + (tab-width . 3) + (c-basic-offset . 3) + + ;; brace cleanups + (c-cleanup-list + brace-else-brace + brace-elseif-brace + brace-catch-brace + empty-defun-braces + defun-close-semi + list-close-comma + scope-operator) + + ;; syntactic symbols + (c-offsets-alist + (substatement-open . 0) + (inline-open . 0) + (case-label . +) + (innamespace . 0) + (arglist-cont-nonempty . +) + (cpp-macro . -)))) + +;; c-like language settings (c, c++, java, etc.) +;;(require 'doxymacs) +(setq-default c-default-style "hoersten") ; load c-style + +(message "Loading hoersten-c-style...done") +(provide 'hoersten-c-style) |
