|
From: | Kevin Rodgers |
Subject: | Re: modes and hooks... |
Date: | Wed, 18 Jun 2003 15:20:24 -0600 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Javier Oviedo wrote:
I want to run a function, automatically, after occur-mode has completed and a buffer of matches has been created, but I'm not sure how to do it. Is there a occur-mode-exit-hook, or something of the sort, that I could use in a add-hook statement? Is there a general rule of thumb about pre/post hooks?
If `M-x apropos RET occur.*hook RET' doesn't show anything useful, you can always use advice(.el): (defadvice occur (after activate joviedo) ...) -- <a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |