emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 31caf84bb7: lisp/oc-basic.el (org-cite-basic--short


From: ELPA Syncer
Subject: [elpa] externals/org 31caf84bb7: lisp/oc-basic.el (org-cite-basic--shorten-names): Fix NAMES being raw pseudo-object
Date: Fri, 15 Dec 2023 12:58:33 -0500 (EST)

branch: externals/org
commit 31caf84bb7960308e273e9c6a6da9efe7b66a2ad
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    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
---
 lisp/oc-basic.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/oc-basic.el b/lisp/oc-basic.el
index e22bff237a..09cac58ac8 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]