summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIhor Radchenko <yantar92@posteo.net>2023-12-07 11:31:01 +0100
committerIhor Radchenko <yantar92@posteo.net>2023-12-07 11:31:07 +0100
commita59193e47d3addb5c4e30774362b1edbc49fbe20 (patch)
tree40ff63361a96cf92519e6e4182803d371aa945e4
parentfdd9b6d330a5ef7c0e95b67f37d0233922c29300 (diff)
downloadorg-mode-a59193e47.tar.gz
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'.
-rw-r--r--lisp/oc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/oc.el b/lisp/oc.el
index 1d0d461..a74b321 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))))