; Fix last change (bug#66614).

This commit is contained in:
Eli Zaretskii 2023-10-29 13:40:27 +02:00
parent 5c8fc0b059
commit f80889b724
2 changed files with 8 additions and 9 deletions

View file

@ -1508,11 +1508,12 @@ has been capitalized. This means that the first character of each
word is converted to upper case, and the rest are converted to lower
case.
@vindex case-symbols-as-words
The definition of a word is any sequence of consecutive characters that
are assigned to the word constituent syntax class in the current syntax
table (@pxref{Syntax Class Table}), or if @code{case-symbols-as-words}
is non-nil, also characters assigned to the symbol constituent syntax
class.
table (@pxref{Syntax Class Table}); if @code{case-symbols-as-words}
is non-nil, characters assigned to the symbol constituent syntax
class are also considered as word constituent.
When @var{string-or-char} is a character, this function does the same
thing as @code{upcase}.
@ -1542,11 +1543,9 @@ letters other than the initials. It returns a new string whose
contents are a copy of @var{string-or-char}, in which each word has
had its initial letter converted to upper case.
The definition of a word is any sequence of consecutive characters that
are assigned to the word constituent syntax class in the current syntax
table (@pxref{Syntax Class Table}), or if @code{case-symbols-as-words}
is non-nil, also characters assigned to the symbol constituent syntax
class.
The definition of a word for this function is the same as described
for @code{capitalize} above, and @code{case-symbols-as-words} has the
same effect on word constituent characters.
When the argument to @code{upcase-initials} is a character,
@code{upcase-initials} has the same result as @code{upcase}.

View file

@ -1199,7 +1199,7 @@ If non-nil, then case operations such as 'upcase-initials' or
'replace-match' (with nil FIXEDCASE) will treat the entire symbol name
as a single word. This is useful for programming languages and styles
where only the first letter of a symbol's name is ever capitalized.
It defaults to nil.
The default value of this variable is nil.
+++
** 'x-popup-menu' now understands touch screen events.