[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help needed with post-command-hook
From: |
Thorsten Jolitz |
Subject: |
Re: Help needed with post-command-hook |
Date: |
Mon, 15 Sep 2014 11:03:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Barry Margolin <barmar@alum.mit.edu> writes:
> In article <mailman.8853.1410687492.1147.help-gnu-emacs@gnu.org>,
> Thorsten Jolitz <tjolitz@gmail.com> wrote:
>
>> Hi List,
>>
>> I have three questions wrt `post-command-hook':
>>
>> - Is `post-command-hook' triggered when an interactive function is
>> called non-interactively?
>>
>> - If not, what would be the equivalent hook for `funcall`, i.e. the
>> Emacs 'post-funcall-hook'? I could not find one. Many functions
>> change or insert, but some just move point, so using a post change or
>> post insert hook would not cover all cases (or would moving point
>> trigger a post change hook?).
>
> There's no hook for all function calls. That would be way overkill.
>
> If you want to do something after a specific function, advise it.
Ok, thanks for the tip.
--
cheers,
Thorsten