[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /* */ style comments in C++ sources
From: |
Eli Zaretskii |
Subject: |
Re: /* */ style comments in C++ sources |
Date: |
Fri, 16 Jun 2017 16:33:04 +0300 |
> Date: Fri, 16 Jun 2017 12:40:10 +0000
> Cc: address@hidden, address@hidden
> From: Alan Mackenzie <address@hidden>
>
> How about something like:
>
> (c++-mode . ((eval . (when (fboundp 'c-toggle-comment-style)
> (c-toggle-comment-style 1)))))
>
> (not tested)? It might not be pretty, but it should surely work without
> throwing errors in Emacs <= 25.2.
This works, thanks. (It has the downside that it uses 'eval', which
by default asks for confirmation. Bug GDB's .dir-locals.el already
uses 'eval' for a different purpose, and I have enable-local-eval set
to t in my .emacs.)
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/06/15
- Re: /* */ style comments in C++ sources, Eli Zaretskii, 2017/06/16
- Re: /* */ style comments in C++ sources, Alan Mackenzie, 2017/06/16
- Re: /* */ style comments in C++ sources, Eli Zaretskii, 2017/06/16
- Re: /* */ style comments in C++ sources, Stefan Monnier, 2017/06/16
- Re: /* */ style comments in C++ sources, Stefan Monnier, 2017/06/16
- Re: /* */ style comments in C++ sources, Eli Zaretskii, 2017/06/16
- Re: /* */ style comments in C++ sources, Stefan Monnier, 2017/06/16
- Re: /* */ style comments in C++ sources, Eli Zaretskii, 2017/06/16