From: Eli Zaretskii Date: Sun, 29 Oct 2023 11:40:27 +0000 (+0200) Subject: ; Fix last change (bug#66614). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f80889b7247d42adb09f345bb6aa24010a6af33b;p=emacs.git ; Fix last change (bug#66614). --- diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 665d4f9a8dc..d05b0b36475 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -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}. diff --git a/etc/NEWS b/etc/NEWS index 269346b5917..8ae7b89e830 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -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.