[Top][All Lists]

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

Re: how to prevent abbreviation in c comment?

From: Andreas Röhler
Subject: Re: how to prevent abbreviation in c comment?
Date: Fri, 7 Mar 2008 19:33:35 +0100
User-agent: KMail/1.9.5

Am Freitag, 7. März 2008 15:59 schrieb sunway:
> I have defined an abbreviation of  "main" for "int main () {}" in c-mode 
> skeleton,
> but I don't want "main" be expanded when it is in c comment blocks, how to?
> -- 
> sunway
> "Never, never, never, never give up."

IMO best solution is to redefine your abbrev.

Maybe, when defining abbrevs, think about how to avoid
such, i.e. don't use existing words as abbreviations,
unless there are reasons to do so.

Andreas Röhler

reply via email to

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