unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Javier Oviedo" <email_joviedo@yahoo.com>
Subject: modes and hooks...
Date: Tue, 17 Jun 2003 17:38:38 -0400	[thread overview]
Message-ID: <bco1jr$1vc$1@home.itg.ti.com> (raw)

Hello all:

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?

Any help would be great. Thanks in advance!

Example:

;; run my function once occur-mode has completed and a buffer of matches has
been created.
(add-hook 'occur-mode-exit-hook 'my-occur-mode-function)


--
Javier

             reply	other threads:[~2003-06-17 21:38 UTC|newest]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='bco1jr$1vc$1@home.itg.ti.com' \
    --to=email_joviedo@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).