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:
parent
15cf8c3fcd
commit
31caf84bb7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user