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

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

Re: ;;; anything.el --- open anything


From: Tassilo Horn
Subject: Re: ;;; anything.el --- open anything
Date: Fri, 27 Jul 2007 13:12:49 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

Hi,

now there are the variables

    anything-action-transformers-file
    anything-action-transformers-buffer
    anything-action-transformers-function
    ...

which should be lists of functions with parameters ACTIONS (the list of
actions so far) and CANDIDATE (the selected file / buffer / function /
...). Those functions may modify the list of actions somehow and return
it.

The function

    anything-transform-file-actions

calls each function in `anything-action-transformers-file' and builds
the list of actions then. It's the same for all other types.

So now you can easily write transformer function an add them to the
appropriate `anything-action-transformers-TYPE' list.

Bye,
Tassilo
-- 
Every time  Chuck Norris  smiles, someone dies.  Unless he  smiles while
he's roundhouse kicking someone in the face. Then two people die.





reply via email to

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