emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /* */ style comments in C++ sources


From: Stefan Monnier
Subject: Re: /* */ style comments in C++ sources
Date: Fri, 16 Jun 2017 09:37:05 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

>> Maybe I could amend the amendment for /* */ so that it would need only to
>> set a variable in .dir-locals.el rather than calling a function.  Would
>> that work better?
> Yes, setting a variable is better, since older Emacsen will just set a
> variable which no code references.

You can set `comment-start` and `comment-end` already just fine, and that
will work with any old Emacs that supports .dir-locals.el (and not just
for CC-modes).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]