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

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

Re: abbrev-mode and skeletons question


From: Chetan
Subject: Re: abbrev-mode and skeletons question
Date: Fri, 24 Oct 2008 17:33:23 -0700
User-agent: Emacs Gnus

pandagoat <pandagoat@gmail.com> writes:

> I have set up several skeletons to use when I type certain abbrevs,
> but I have two cases where I do not wish it to insert anything: in
> commented regions and in strings.  Is there some method to not
> insert a skeleton if the abbrev is in a commented region or in a
> string?
>
> I know I can just use cryptic abbrevs that I would never type otherwise, but
> doing the aforementioned method would be more nice.
>
> Thanks.  

I haven't used skeletons. But I have used expand package and it checks
for comments and strings.

Chetan


reply via email to

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