Commit | Line | Data |
---|---|---|
3ad2ec6f | 1 | ;; Emacs settings. |
61baf725 | 2 | ;; Copyright (C) 2012-2017 Free Software Foundation, Inc. |
3ad2ec6f TT |
3 | |
4 | ;; This program is free software; you can redistribute it and/or modify | |
5 | ;; it under the terms of the GNU General Public License as published by | |
6 | ;; the Free Software Foundation; either version 3 of the License, or | |
7 | ;; (at your option) any later version. | |
8 | ||
9 | ;; This program is distributed in the hope that it will be useful, | |
10 | ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | ;; GNU General Public License for more details. | |
13 | ||
14 | ;; You should have received a copy of the GNU General Public License | |
15 | ;; along with this program. If not, see <http://www.gnu.org/licenses/>. | |
16 | ||
17 | ( | |
18 | (tcl-mode . ((tcl-indent-level . 4) | |
19 | (tcl-continued-indent-level . 4) | |
20 | (indent-tabs-mode . t))) | |
21 | (nil . ((bug-reference-url-format . "http://sourceware.org/bugzilla/show_bug.cgi?id=%s"))) | |
22 | (c-mode . ((c-file-style . "GNU") | |
ff718840 AT |
23 | (mode . c++) |
24 | (indent-tabs-mode . t) | |
25 | (tab-width . 8) | |
26 | (c-basic-offset . 2) | |
27 | (eval . (c-set-offset 'innamespace 0)) | |
28 | )) | |
25c54127 EZ |
29 | (c++-mode . ((eval . (when (fboundp 'c-toggle-comment-style) |
30 | (c-toggle-comment-style 1))))) | |
3ad2ec6f | 31 | ) |