diff options
-rw-r--r-- | gdb/.dir-locals.el | 2 | ||||
-rw-r--r-- | gdb/ChangeLog | 5 |
2 files changed, 7 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))))) ) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7080256..32abd42 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +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. + 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com> Pedro Alves <palves@redhat.com> |