[Top][All Lists]

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

Re: Calling function after any abbrev expansion

From: Jakub Narębski
Subject: Re: Calling function after any abbrev expansion
Date: 12 Nov 2003 23:21:12 GMT
User-agent: tin/1.5.16-20030125 ("Bubbles") (UNIX) (Linux/2.4.21 (i686))

Ian Zimmerman <> wrote:
> Jakub> There is `pre-abbrev-expand-hook' for functions to execute just
> Jakub> _before_ any expansion of an abbrev.  Is there any way to define
> Jakub> function to execute just _after_ an expansion of _any_ abbrev,
> Jakub> possibly before caling auto-fill[-function]?  Yes, I know that I
> Jakub> can define the function to call after expansion of the specific
> Jakub> abbrev, but is there any simple and fast solution for all abbrevs
> Jakub> at once?
> I don't know if there's a hook variable that solves your problem.  If
> not, it (like anything :) can be done with defadvice.

Yeah, defadvice, but defadvice what? I have thought about advising 
define-abbrev and the likes and going thru the defined (and appropriate) 
advices and add after abbrev hooks to appropriate abbrevs. But I really 
hope that there is a faster/simpler way...

Jakub Narębski            
 ZTHiL IFT UW             

reply via email to

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