Function: upcase-initials-region

upcase-initials-region is an interactive function defined in casefiddle.c.

Signature

(upcase-initials-region BEG END &optional REGION-NONCONTIGUOUS-P)

Documentation

Upcase the initial of each word in the region.

This means that each word's first character is converted to either title case or upper case, and the rest are left unchanged. In programs, give two arguments, the starting and ending character positions to operate on.

Probably introduced at or before Emacs version 27.1.

Key Bindings

Source Code

// Defined in /usr/src/emacs/src/casefiddle.c
{
  return casify_pnc_region (CASE_CAPITALIZE_UP, beg, end,
			    region_noncontiguous_p);
}