The case change commands described here work on text in the current buffer. See section Case Conversion in Lisp, for case conversion functions that work on strings and characters. See section The Case Table, for how to customize which characters are upper or lower case and how to convert them.
nil.
If one end of the region is in the middle of a word, the part of the word within the region is treated as an entire word.
When capitalize-region is called interactively, start and
end are point and the mark, with the smallest first.
---------- Buffer: foo ---------- This is the contents of the 5th foo. ---------- Buffer: foo ---------- (capitalize-region 1 44) => nil ---------- Buffer: foo ---------- This Is The Contents Of The 5th Foo. ---------- Buffer: foo ----------
nil.
When downcase-region is called interactively, start and
end are point and the mark, with the smallest first.
nil.
When upcase-region is called interactively, start and
end are point and the mark, with the smallest first.
nil.
If point is in the middle of a word, the part of the word before point is ignored when moving forward. The rest is treated as an entire word.
When capitalize-word is called interactively, count is
set to the numeric prefix argument.
nil.
When downcase-word is called interactively, count is set
to the numeric prefix argument.
nil.
When upcase-word is called interactively, count is set to
the numeric prefix argument.
Go to the first, previous, next, last section, table of contents.