Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f80889b7
Commit
f80889b7
authored
Oct 29, 2023
by
Eli Zaretskii
Browse files
; Fix last change (bug#66614).
parent
5c8fc0b0
Pipeline
#26975
failed with stages
in 9 minutes and 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
doc/lispref/strings.texi
doc/lispref/strings.texi
+7
-8
etc/NEWS
etc/NEWS
+1
-1
No files found.
doc/lispref/strings.texi
View file @
f80889b7
...
...
@@ -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}.
...
...
etc/NEWS
View file @
f80889b7
...
...
@@ -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
default
s to
nil.
The
default
value of this variable is
nil.
+++
**
'x-popup-menu' now understands touch screen events.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment