Function: denote-link--insert-links

denote-link--insert-links is a byte-compiled function defined in denote.el.

Signature

(denote-link--insert-links FILES CURRENT-FILE-TYPE &optional ID-ONLY NO-SORT)

Documentation

Insert at point a typographic list of links matching FILES.

With CURRENT-FILE-TYPE as a symbol among those specified in variable denote-file-type(var)/denote-file-type(fun) (or the car of each element in denote-file-types), format the link accordingly. With a nil or unknown non-nil value, default to the Org notation.

With ID-ONLY as a non-nil value, produce links that consist only of the identifier, thus deviating from CURRENT-FILE-TYPE.

Optional NO-SORT is passed to denote-link--prepare-links.

Source Code

;; Defined in ~/.emacs.d/elpa/denote-4.2.3/denote.el
(defun denote-link--insert-links (files current-file-type &optional id-only no-sort)
  "Insert at point a typographic list of links matching FILES.

With CURRENT-FILE-TYPE as a symbol among those specified in variable
`denote-file-type' (or the `car' of each element in `denote-file-types'),
format the link accordingly.  With a nil or unknown non-nil value,
default to the Org notation.

With ID-ONLY as a non-nil value, produce links that consist only
of the identifier, thus deviating from CURRENT-FILE-TYPE.

Optional NO-SORT is passed to `denote-link--prepare-links'."
  (when-let* ((links (denote-link--prepare-links files current-file-type id-only no-sort)))
    (dolist (link links)
      (insert link))))