From a59193e47d3addb5c4e30774362b1edbc49fbe20 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 7 Dec 2023 11:31:01 +0100 Subject: [PATCH] fixup! lisp/oc-basic.el: Consider that author/title fields may be raw string objects * lisp/oc.el (org-cite-capitalize): Should use `capitalize', not `upcase'. --- lisp/oc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/oc.el b/lisp/oc.el index 1d0d46153..a74b32185 100644 --- a/lisp/oc.el +++ b/lisp/oc.el @@ -1241,7 +1241,7 @@ and must return either a string, an object, or a secondary string." ((stringp str) (capitalize str)) ((org-element-type-p str 'raw) (org-export-raw-string - (upcase (mapconcat #'identity (org-element-contents str) "")))) + (capitalize (mapconcat #'identity (org-element-contents str) "")))) (t (error "%S must be either a string or raw string object" str))))