Function: org-link-display-format
org-link-display-format is a byte-compiled function defined in
ol.el.gz.
Signature
(org-link-display-format S)
Documentation
Replace links in string S with their description.
If there is no description, use the link target.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defun org-link-display-format (s)
"Replace links in string S with their description.
If there is no description, use the link target."
(save-match-data
(replace-regexp-in-string
org-link-bracket-re
(lambda (m) (or (match-string 2 m) (match-string 1 m)))
s nil t)))