mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-23 07:18:53 +00:00
check html-link-home exists before triming
Ensure that the :html-link-home property exists before passing it to `org-trim' which assumes it's argument is a string.
This commit is contained in:
parent
99a8d97ffa
commit
db9f11a860
@ -2598,7 +2598,8 @@ images, set it to:
|
||||
DESC is the description part of the link, or the empty string.
|
||||
INFO is a plist holding contextual information. See
|
||||
`org-export-data'."
|
||||
(let* ((home (org-trim (plist-get info :html-link-home)))
|
||||
(let* ((home (when (plist-get info :html-link-home)
|
||||
(org-trim (plist-get info :html-link-home))))
|
||||
(use-abs-url (plist-get info :html-link-use-abs-url))
|
||||
(link-org-files-as-html-maybe
|
||||
(function
|
||||
|
Loading…
Reference in New Issue
Block a user