help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: A true challenge for Emac and Elisp hackers - at Least I think so


From: Giorgos Keramidas
Subject: Re: A true challenge for Emac and Elisp hackers - at Least I think so
Date: 12 Oct 2005 19:13:44 +0300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se> writes:
> On Wed, 12 Oct 2005 15:29:54 +0200
> Matthieu Moy <MatthieuNOSPAM.Moy@imag.fr.invalid> wrote:
> #> Slawomir Nowaczyk <slawomir.nowaczyk.847@student.lu.se> writes:
> #>
> #> > 2) Write a function which does what you want and bind it to RET key
> #> >       *) the function should check if buffer name ends with *.c
> #>
> #> Better: bind this function only in c-mode and c++-mode. No test needed
> #> in the command itself.
>
> Well, my system reports c++-mode for *.h files as well. Original
> poster specifically asked the function to apply to *.c files only.

That was probably a mis-statement of the original poster's intent,
since it's not unheard of to have macros with real C or C++ code in
header files too :)



reply via email to

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