1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-24 07:20:29 +00:00

lisp/oc-basic.el (org-cite-basic--shorten-names): Fix NAMES being raw pseudo-object

NAMES-STRING should be a string, while `org-element-contents' returns
a list.

Reported-by: William Denton <wtd@pobox.com>
Link: https://orgmode.org/list/alpine.DEB.2.22.394.2312150948490.84946@shell3.miskatonic.org
This commit is contained in:
Ihor Radchenko 2023-12-15 16:06:43 +01:00
parent 15cf8c3fcd
commit 31caf84bb7
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B

View File

@ -366,7 +366,7 @@ personal names of the form \"family, given\"."
(cond
((stringp names) (setq names-string names))
((org-element-type-p names 'raw)
(setq names-string (org-element-contents names)
(setq names-string (mapconcat #'identity (org-element-contents names))
raw-p t)))
(when names-string
(setq names-string