Function: org-link--prettify
org-link--prettify is a byte-compiled function defined in ol.el.gz.
Signature
(org-link--prettify LINK)
Documentation
Return a human-readable representation of LINK.
The car of LINK must be a raw link. The cdr of LINK must be either a link description or nil.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
(defun org-link--prettify (link)
"Return a human-readable representation of LINK.
The car of LINK must be a raw link. The cdr of LINK must be
either a link description or nil."
(let ((desc (or (cadr link) "<no description>")))
(concat (format "%-45s" (substring desc 0 (min (length desc) 40)))
"<" (car link) ">")))