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

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

Re: suppress insertion of SPC after SPC expands abbrev


From: Benjamin Rutt
Subject: Re: suppress insertion of SPC after SPC expands abbrev
Date: Sun, 27 Jun 2004 12:18:08 -0400
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

sandipchitale@yahoo.com (Sandip Chitale) writes:

> Benjamin Rutt <rutt.4+news@osu.edu> wrote in message 
> news:<87vfhi4d8s.fsf@osu.edu>...
>> I want to prevent the SPC from getting inserted when an abbrev is
>> expanded, much like C-x ' does.
>> 
> Look into:
>
> The 'no-self-insert property of the tempo-template-* defuns. Does that help?

Yes, that helps a great deal.  I simply define my abbrev functions by
name (rather than anonymous) and give them the 'no-self-insert
property.  I think this is the cleanest solution, thanks.
-- 
Benjamin Rutt


reply via email to

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