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'.
This commit is contained in:
Ihor Radchenko 2023-12-07 11:31:01 +01:00
parent fdd9b6d330
commit a59193e47d
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -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))))