Hi,

On Aug 4, 4:48 pm, Tassilo Horn <[EMAIL PROTECTED]> wrote:
>
> Another thing: Could you provide a hook that is run after
> anything-pattern changes but before the candidates are calculated?
>

Can't you do that with a defadvice? I was tempted to add a hook for
adaptive sorting too, but I decided to use advice instead, because I
don't want to add stuff which only serves a particular purpose and can
be implemented with standard emacs methods.

I think you can simply defadvice anything-update or anything-check-
input to do what you want.

If it works for you then I'd rather not add the hook (as I didn't add
one for adaptive sorting either) until it's needed for other stuff
too.

Let's keep it simple. :)

/Tamas

_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to