[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modes and hooks...
From: |
Javier Oviedo |
Subject: |
Re: modes and hooks... |
Date: |
Thu, 19 Jun 2003 12:57:56 -0400 |
Thanks. I'll give it a try.
--
Javier
"Kevin Rodgers" <ihs_4664@yahoo.com> wrote in message
3EF0D798.9080408@yahoo.com">news:3EF0D798.9080408@yahoo.com...
> 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>
>