branch: externals/org
commit 41726d408bc8bcd5c2512bed211fdc572d7ead51
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
lisp/oc-basic.el (org-cite-basic--shorten-names): Fix typo
Use normalized NAMES-STRING to shorten names.
Reported-by: William Denton <[email protected]>
Link:
https://orgmode.org/list/[email protected]
---
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 09cac58ac8..677719f01e 100644
--- a/lisp/oc-basic.el
+++ b/lisp/oc-basic.el
@@ -375,7 +375,7 @@ personal names of the form \"family, given\"."
(if (eq 1 (length name))
(cdr (split-string name))
(car (split-string name ", "))))
- (split-string names " and ")
+ (split-string names-string " and ")
", "))
(if raw-p (org-export-raw-string names-string)
names-string))))