|
From: | Kevin Rodgers |
Subject: | Re: suppress insertion of SPC after SPC expands abbrev |
Date: | Wed, 23 Jun 2004 13:14:00 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Benjamin Rutt wrote: > I want to prevent the SPC from getting inserted when an abbrev is > expanded, much like C-x ' does. > > The following thread from 1992 discusses this: > > http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=WMESARD.92Sep4121833%40tofu.oracle.com&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26q%3Demacs%2Babbrev%2Bsuppress%2Bspace%26btnG%3DSearch > > None of those solutions looked very clean. Is there any way in > current emacs to do this? Why not bound SPC to something like: (defun expand-abbrev-or-self-insert () (interactive) (or (expand-abbrev) (insert last-command-char))) -- Kevin Rodgers
[Prev in Thread] | Current Thread | [Next in Thread] |