mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-01 20:53:19 +00:00
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:
parent
fdd9b6d330
commit
a59193e47d
|
@ -1241,7 +1241,7 @@ and must return either a string, an object, or a secondary string."
|
||||||
((stringp str) (capitalize str))
|
((stringp str) (capitalize str))
|
||||||
((org-element-type-p str 'raw)
|
((org-element-type-p str 'raw)
|
||||||
(org-export-raw-string
|
(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))))
|
(t (error "%S must be either a string or raw string object" str))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue