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
0da09c43
Commit
0da09c43
authored
Mar 15, 2011
by
Paul Eggert
Browse files
* editfns.c (Fchar_equal): Remove no-longer-needed workaround for
the race-condition problem the old DOWNCASE.
parent
88043301
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
src/ChangeLog
src/ChangeLog
+2
-0
src/editfns.c
src/editfns.c
+1
-6
No files found.
src/ChangeLog
View file @
0da09c43
...
...
@@ -8,6 +8,8 @@
EMACS_INT, since callers assume the returned value fits in int.
(upcase1): Likewise, for UPCASE_TABLE.
(uppercasep, lowercasep, upcase): New static inline functions.
* editfns.c (Fchar_equal): Remove no-longer-needed workaround for
the race-condition problem the old DOWNCASE.
* regex.c (CHARSET_LOOKUP_RANGE_TABLE_RAW, POP_FAILURE_REG_OR_COUNT):
Rename locals to avoid shadowing.
src/editfns.c
View file @
0da09c43
...
...
@@ -4222,9 +4222,6 @@ Case is ignored if `case-fold-search' is non-nil in the current buffer. */)
if
(
NILP
(
BVAR
(
current_buffer
,
case_fold_search
)))
return
Qnil
;
/* Do these in separate statements,
then compare the variables.
because of the way downcase uses temp variables. */
i1
=
XFASTINT
(
c1
);
if
(
NILP
(
BVAR
(
current_buffer
,
enable_multibyte_characters
))
&&
!
ASCII_CHAR_P
(
i1
))
...
...
@@ -4237,9 +4234,7 @@ Case is ignored if `case-fold-search' is non-nil in the current buffer. */)
{
MAKE_CHAR_MULTIBYTE
(
i2
);
}
i1
=
downcase
(
i1
);
i2
=
downcase
(
i2
);
return
(
i1
==
i2
?
Qt
:
Qnil
);
return
(
downcase
(
i1
)
==
downcase
(
i2
)
?
Qt
:
Qnil
);
}
/* Transpose the markers in two regions of the current buffer, and
...
...
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