diff options
| author | Ihor Radchenko <yantar92@posteo.net> | 2023-12-15 16:06:43 +0100 |
|---|---|---|
| committer | Ihor Radchenko <yantar92@posteo.net> | 2023-12-15 16:06:43 +0100 |
| commit | 31caf84bb7960308e273e9c6a6da9efe7b66a2ad (patch) | |
| tree | 3a1f271f2dae37556c9464dc226a7ebc1348d636 | |
| parent | 15cf8c3fcdd3d22f034ea48e8c37ee39b7dacc1c (diff) | |
| download | org-mode-31caf84bb.tar.gz | |
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
| -rw-r--r-- | lisp/oc-basic.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/oc-basic.el b/lisp/oc-basic.el index e22bff2..09cac58 100644 --- a/lisp/oc-basic.el +++ b/lisp/oc-basic.el @@ -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 |
