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 16:22:18 +0300

> Date: Fri, 16 Jun 2017 11:50:13 +0000
> Cc: address@hidden, address@hidden
> From: Alan Mackenzie <address@hidden>
> 
> > The reason I'm asking is that I'd like to add this to the
> > .dir-locals.el file in the GDB repository.
> 
> We could really do with being able to write (if (fboundp ...) ...) in a
> .dir-locals.el.  I don't think we've any way of doing this at the moment.

That's what I thought.  But doesn't 'eval' work?

> 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.

Thanks.



reply via email to

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