help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help needed with post-command-hook


From: Barry Margolin
Subject: Re: Help needed with post-command-hook
Date: Sun, 14 Sep 2014 12:32:58 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

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.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]