[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: point change hook
From: |
Lennart Borgman |
Subject: |
Re: point change hook |
Date: |
Wed, 6 May 2009 10:05:48 +0200 |
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.)