79f4e9b014789707991af74328df37ba369678a4
[senf.git] / project.el
1 ;; Configuration file for cc-ide.el (Emacs C++ IDE extension, see http://g0dil.de)
2
3 (set (make-local-variable 'ccide-file-vars)
4      '(( fill-column  . 100    )
5        ( c-file-style . "senf" )
6        ( ispell-local-dictionary . "american" )))
7
8 (set (make-local-variable 'ccide-default-copyright)
9      (concat "//\n"
10              "// This program is free software; you can redistribute it and/or modify\n"
11              "// it under the terms of the GNU General Public License as published by\n"
12              "// the Free Software Foundation; either version 2 of the License, or\n"
13              "// (at your option) any later version.\n"
14              "//\n"
15              "// This program is distributed in the hope that it will be useful,\n"
16              "// but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
17              "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n"
18              "// GNU General Public License for more details.\n"
19              "//\n"
20              "// You should have received a copy of the GNU General Public License\n"
21              "// along with this program; if not, write to the\n"
22              "// Free Software Foundation, Inc.,\n"
23              "// 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\n"))
24
25 (let ((local-conf (expand-file-name "project-local.el" ccide-project-root)))
26   (if (file-readable-p local-conf)
27       (load-file local-conf)))