-
Notifications
You must be signed in to change notification settings - Fork 44
/
elle.el
22 lines (19 loc) · 1.23 KB
/
elle.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(require 'cc-mode)
(defun c-lineup-C-comments-boxes (arg)
(let ((box (save-excursion (goto-char (cdr arg))
(looking-at "/\\*-*\\.$"))))
(if box 0 (c-lineup-C-comments arg))))
(add-to-list 'c-style-alist '("infinit" (c-basic-offset . 2)
(c-comment-only-line-offset . 0)
(c-hanging-braces-alist . ((substatement-open before after)))
(c-offsets-alist . ((topmost-intro . 0)
(substatement . +)
(substatement-open . 0)
(case-label . +)
(access-label . -)
(inclass . +)
(inline-open . 0)
(c .
c-lineup-C-comments-boxes)))))
(setq c-default-style "infinit")
(c++-project '("src") "_build" "../drake/src/bin/drake .. //build" "" '())