diff options
author | Eli Zaretskii <eliz@gnu.org> | 2017-07-01 18:45:57 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2017-07-01 18:45:57 +0300 |
commit | 25c5412713badef8cf779186174200ecd880b329 (patch) | |
tree | 3b53bb4b75a574d3f6895c17eaf873250d3c97d2 /gdb/.dir-locals.el | |
parent | 3c465ea0ffd372bfc7f07eccef4c0b1bd22efc71 (diff) | |
download | binutils-gdb-25c5412713badef8cf779186174200ecd880b329.tar.gz |
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.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/.dir-locals.el b/gdb/.dir-locals.el index a2aa1962fa3..48325b14985 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))))) ) |