[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f80889b7247: ; Fix last change (bug#66614).
From: |
Eli Zaretskii |
Subject: |
master f80889b7247: ; Fix last change (bug#66614). |
Date: |
Sun, 29 Oct 2023 07:41:13 -0400 (EDT) |
branch: master
commit f80889b7247d42adb09f345bb6aa24010a6af33b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Fix last change (bug#66614).
---
doc/lispref/strings.texi | 15 +++++++--------
etc/NEWS | 2 +-
2 files changed, 8 insertions(+), 9 deletions(-)
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f80889b7247: ; Fix last change (bug#66614).,
Eli Zaretskii <=