[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org bc8c3e7795 2/2: org-export-link--remote-local-copy:
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org bc8c3e7795 2/2: org-export-link--remote-local-copy: Update docstring |
Date: |
Mon, 14 Feb 2022 08:57:48 -0500 (EST) |
branch: externals/org
commit bc8c3e7795140b764ca52d0d75f3903c3587f816
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
org-export-link--remote-local-copy: Update docstring
* lisp/ox.el (org-export-link-localise): Make sure that docstring is
narrower than 80 chars. Clarify the return value when LINK is not a
remote link.
---
lisp/ox.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/ox.el b/lisp/ox.el
index a258ed57fd..280fa0275c 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -4476,7 +4476,9 @@ Return value can be an object or an element:
:write-immediately t))))
(defun org-export-link-localise (link)
- "If LINK refers to a remote resource, modify it to point to a local
downloaded copy."
+ "Convert remote LINK to local link.
+If LINK refers to a remote resource, modify it to point to a local
+downloaded copy. Otherwise, return unchanged LINK."
(when (org-export-link-remote-p link)
(let* ((local-path (org-export-link--remote-local-copy link)))
(setcdr link