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 should accept an argument INTERACTIVE? which indicates whether the user has initiated org-store-link interactively.

Each function will be called in turn with a single argument INTERACTIVE? - non-nil when user interaction is allowed. Each function should check if it is responsible for creating this link (for example by looking at the major mode). If not, it must 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 should accept an argument
INTERACTIVE? which indicates whether the user has initiated
`org-store-link' interactively.

Each function will be called in turn with a single argument
INTERACTIVE? - non-nil when user interaction is allowed.  Each function
should check if it is responsible for creating this link (for example
by looking at the major mode).  If not, it must 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))