unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* point change hook
@ 2009-05-06  7:12 tomer
  2009-05-06  8:05 ` Lennart Borgman
  0 siblings, 1 reply; 2+ messages in thread
From: tomer @ 2009-05-06  7:12 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a hook for point change.
I want to execute a function each time the point is changed.
Is it possible?
Thanks
Tomer


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

* Re: point change hook
  2009-05-06  7:12 point change hook tomer
@ 2009-05-06  8:05 ` Lennart Borgman
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman @ 2009-05-06  8:05 UTC (permalink / raw)
  To: tomer; +Cc: help-gnu-emacs

On Wed, May 6, 2009 at 9:12 AM, tomer <tomer1levin@walla.co.il> wrote:
> Is there a hook for point change.
> I want to execute a function each time the point is changed.
> Is it possible?
> Thanks
> Tomer

Hi Tomer,

I suspect you want to run this hook after each command that has
changed the point. In that case you can use pre-command-hook or
post-command-hook. (Together with saving the old point somehow of
course.)




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

end of thread, other threads:[~2009-05-06  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06  7:12 point change hook tomer
2009-05-06  8:05 ` Lennart Borgman

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