emacs-devel
[Top][All Lists]
Advanced

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

Re: How to test whether any code runs after same command invocation?


From: Stefan Monnier
Subject: Re: How to test whether any code runs after same command invocation?
Date: Fri, 14 Feb 2014 15:55:32 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> > I after-advice dired-insert-set-properties.
>> Then why is the code run multiple times?
> If you operate on several (marked) files, each file's line is refreshed
> individually.  Then the code is called several times (contrary to
> e.g. just hitting g) after one command invocation.

But your code can limit itself to beg..end so while it will be called
several times, it will only be run once for any given part of the buffer.


        Stefan



reply via email to

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