Use an accessor function for general_symbol_info::language
[deliverable/binutils-gdb.git] / gdb / .dir-locals.el
index 3667eab0b51fce2c6a7f3b75956d0ce2af203428..4f30ed7ac03f40b35f89a9f6c7ad39bbaa2cff37 100644 (file)
@@ -1,5 +1,5 @@
 ;; Emacs settings.
-;; Copyright (C) 2012-2013 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2019 Free Software Foundation, Inc.
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
              (indent-tabs-mode . t)))
  (nil . ((bug-reference-url-format . "http://sourceware.org/bugzilla/show_bug.cgi?id=%s")))
  (c-mode . ((c-file-style . "GNU")
-           (indent-tabs-mode . t)))
+           (mode . c++)
+           (indent-tabs-mode . t)
+           (tab-width . 8)
+           (c-basic-offset . 2)
+           (eval . (c-set-offset 'innamespace 0))
+           ))
+ (c++-mode . ((eval . (when (fboundp 'c-toggle-comment-style)
+                       (c-toggle-comment-style 1)))
+             (indent-tabs-mode . t)
+             (tab-width . 8)
+             (c-file-style . "GNU")
+             (c-basic-offset . 2)
+             (eval . (c-set-offset 'innamespace 0))
+             ))
 )
This page took 0.025154 seconds and 4 git commands to generate.