Automatic date update in version.in
[binutils-gdb.git] / gdbserver / .dir-locals.el
blob1915c070e53cdfc728907f7d34fad3dd37768b87
1 ;; Emacs settings.
2 ;; Copyright (C) 2012-2022 Free Software Foundation, Inc.
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.
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.
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/>.
17 ;; There are three copies of this file, one in each of gdb/,
18 ;; gdbserver/, and gdbsupport/. If you edit any one of these then
19 ;; please replicate the changes in the other two copies.
22 (tcl-mode . ((tcl-indent-level . 4)
23 (tcl-continued-indent-level . 4)
24 (indent-tabs-mode . t)))
25 (nil . ((bug-reference-url-format . "http://sourceware.org/bugzilla/show_bug.cgi?id=%s")
26 (sentence-end-double-space . t)))
27 (c-mode . ((c-file-style . "GNU")
28 (mode . c++)
29 (indent-tabs-mode . t)
30 (tab-width . 8)
31 (c-basic-offset . 2)
32 (eval . (c-set-offset 'brace-list-open 0))
33 (eval . (c-set-offset 'innamespace 0))
35 (c++-mode . ((eval . (when (fboundp 'c-toggle-comment-style)
36 (c-toggle-comment-style 1)))
37 (indent-tabs-mode . t)
38 (tab-width . 8)
39 (c-file-style . "GNU")
40 (c-basic-offset . 2)
41 (eval . (c-set-offset 'brace-list-open 0))
42 (eval . (c-set-offset 'innamespace 0))