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: Eli Zaretskii
Subject: Re: /* */ style comments in C++ sources
Date: Fri, 16 Jun 2017 09:22:06 +0300

> Date: Thu, 15 Jun 2017 21:10:07 +0000
> Cc: address@hidden, Dani Moncayo <address@hidden>
> From: Alan Mackenzie <address@hidden>
> 
> >   Call `c-toggle-comment-style' with a numeric argument in, e.g., a mode
> >   hook to do the obvious.
> 
> More precisely, put
> 
>     (c-toggle-comment-style 1)
> 
> into your c++-mode-hook.

Is this supposed to work in directory-local variables loaded via
.dir-locals.el?  If so, could older versions of Emacs barf when they
see this?

The reason I'm asking is that I'd like to add this to the
.dir-locals.el file in the GDB repository.

> There was no response to Stephan's suggestion (that the mechanism for
> toggling comment style should somehow be shared by CC Mode, Pascal Mode,
> Haskell Mode ....).  So I've just committed the amendment to master.

Thanks.



reply via email to

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