unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* modes and hooks...
@ 2003-06-17 21:38 Javier Oviedo
  2003-06-18 21:20 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Javier Oviedo @ 2003-06-17 21:38 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-19 16:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17 21:38 modes and hooks Javier Oviedo
2003-06-18 21:20 ` Kevin Rodgers
2003-06-19 16:57   ` Javier Oviedo

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).