1;; Emacs settings. 2;; Copyright (C) 2012-2020 Free Software Foundation, Inc. 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;; 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. 20 21( 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 (c-mode . ((c-file-style . "GNU") 27 (mode . c++) 28 (indent-tabs-mode . t) 29 (tab-width . 8) 30 (c-basic-offset . 2) 31 (eval . (c-set-offset 'innamespace 0)) 32 )) 33 (c++-mode . ((eval . (when (fboundp 'c-toggle-comment-style) 34 (c-toggle-comment-style 1))) 35 (indent-tabs-mode . t) 36 (tab-width . 8) 37 (c-file-style . "GNU") 38 (c-basic-offset . 2) 39 (eval . (c-set-offset 'innamespace 0)) 40 )) 41) 42