org.el (org-link-prettify): Docstring cleanup

* org.el (org-link-prettify): Docstring cleanup.
This commit is contained in:
Bastien Guerry 2014-03-03 13:31:24 +01:00
parent 9059c8fae0
commit 7097566dfb
1 changed files with 2 additions and 2 deletions

View File

@ -9946,8 +9946,8 @@ Note: this function also decodes single byte encodings like
(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."
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) ">")))