org-store-link-functions
org-store-link-functions is a variable defined in `
org.el
'.
Its value is
nil
- This variable may be risky if used as a file-local variable.
Documentation:
List of functions that are called to create and store a link.
Each function will be called in turn until one returns a non-nil
value. Each function should check if it is responsible for creating
this link (for example by looking at the major mode).
If not, it must exit and return nil.
If yes, it should return a non-nil value after a calling
`org-store-link-props' with a list of properties and values.
Special properties are:
:type The link prefix, like "http". This must be given.
:link The link, like "http://www.astro.uva.nl/~dominik".
This is obligatory as well.
:description Optional default description for the second pair
of brackets in an Org-mode link. The user can still change
this when inserting this link into an Org-mode buffer.
In addition to these, any additional properties can be specified
and then used in capture templates.