aboutsummaryrefslogtreecommitdiff
path: root/gdb/.dir-locals.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-07-01 18:45:57 +0300
committerEli Zaretskii <eliz@gnu.org>2017-07-01 18:45:57 +0300
commit25c5412713badef8cf779186174200ecd880b329 (patch)
tree3b53bb4b75a574d3f6895c17eaf873250d3c97d2 /gdb/.dir-locals.el
parent3c465ea0ffd372bfc7f07eccef4c0b1bd22efc71 (diff)
downloadgdb-25c5412713badef8cf779186174200ecd880b329.zip
gdb-25c5412713badef8cf779186174200ecd880b329.tar.gz
gdb-25c5412713badef8cf779186174200ecd880b329.tar.bz2
Setup .dir-locals.el to use C-style comments by default
gdb/ChangeLog: 2017-07-01 Eli Zaretskii <eliz@gnu.org> * .dir-locals.el: Automatically switch to C-style comments in versions of Emacs that support the feature.
Diffstat (limited to 'gdb/.dir-locals.el')
-rw-r--r--gdb/.dir-locals.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/.dir-locals.el b/gdb/.dir-locals.el
index a2aa196..48325b1 100644
--- a/gdb/.dir-locals.el
+++ b/gdb/.dir-locals.el
@@ -26,4 +26,6 @@
(c-basic-offset . 2)
(eval . (c-set-offset 'innamespace 0))
))
+ (c++-mode . ((eval . (when (fboundp 'c-toggle-comment-style)
+ (c-toggle-comment-style 1)))))
)