all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: modes and hooks...
Date: Wed, 18 Jun 2003 15:20:24 -0600	[thread overview]
Message-ID: <3EF0D798.9080408@yahoo.com> (raw)
In-Reply-To: bco1jr$1vc$1@home.itg.ti.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:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  reply	other threads:[~2003-06-18 21:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17 21:38 modes and hooks Javier Oviedo
2003-06-18 21:20 ` Kevin Rodgers [this message]
2003-06-19 16:57   ` Javier Oviedo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EF0D798.9080408@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.