summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-03-19 12:57:05 +0100
committerBastien Guerry <bzg@altern.org>2013-03-19 19:39:12 +0100
commit00e8ef22f20f17befb0e0ad67f3a0a7715bb4372 (patch)
tree0d03445f8b058b99e2a818d5b912e9298fc99762
parente89c5f21644929a65413f8b38b6ad263ef3591cd (diff)
downloadorg-mode-00e8ef22f20f17befb0e0ad67f3a0a7715bb4372.tar.gz
org.el (org-link-display-format): Fix docstring
* org.el (org-link-display-format): Fix docstring.
-rw-r--r--lisp/org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el
index 4f61340..5f37f48 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -23150,8 +23150,8 @@ Show the heading too, if it is currently invisible."
(org-show-context 'org-goto))))))
(defun org-link-display-format (link)
- "Replace a link with either the description, or the link target
-if no description is present"
+ "Replace a link with its the description.
+If there is no description, use the link target."
(save-match-data
(if (string-match org-bracket-link-analytic-regexp link)
(replace-match (if (match-end 5)