Function: org-store-link-functions
org-store-link-functions is a byte-compiled function defined in
ol.el.gz.
Signature
(org-store-link-functions)
Documentation
List of functions that are called to create and store a link.
The functions are defined in the :store property of
org-link-parameters.
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 calling org-link-store-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.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defun org-store-link-functions ()
"List of functions that are called to create and store a link.
The functions are defined in the `:store' property of
`org-link-parameters'.
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 calling `org-link-store-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."
(cl-loop for link in org-link-parameters
with store-func
do (setq store-func (org-link-get-parameter (car link) :store))
if store-func
collect store-func))