mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 03:48:51 +00:00
org-e-publish: Fix type mismatch error
* contrib/lisp/org-e-publish.el (org-e-publish-find-title): Store title as a string, not as a secondary string.
This commit is contained in:
parent
f461a10532
commit
36306bae4e
|
@ -864,7 +864,8 @@ Default for SITEMAP-FILENAME is 'sitemap.org'."
|
|||
(with-current-buffer buffer
|
||||
(org-mode)
|
||||
(setq title
|
||||
(or (plist-get (org-export-get-environment) :title)
|
||||
(or (org-element-interpret-data
|
||||
(plist-get (org-export-get-environment) :title))
|
||||
(file-name-nondirectory (file-name-sans-extension file)))))
|
||||
(unless visiting (kill-buffer buffer))
|
||||
(org-e-publish-cache-set-file-property file :title title)
|
||||
|
|
Loading…
Reference in a new issue