aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorPaul Eggert2011-03-15 14:23:02 -0700
committerPaul Eggert2011-03-15 14:23:02 -0700
commit0da09c43ea240c1f07e1f9c2e9f40cd9fcbb862f (patch)
tree4ebfc71486f47580a9c5dcf39ea310fbf7d36017 /src/editfns.c
parent880433015d01974c015718f73c203ad36e47139b (diff)
downloademacs-0da09c43ea240c1f07e1f9c2e9f40cd9fcbb862f.tar.gz
emacs-0da09c43ea240c1f07e1f9c2e9f40cd9fcbb862f.zip
* editfns.c (Fchar_equal): Remove no-longer-needed workaround for
the race-condition problem the old DOWNCASE.
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 59cf269ef7b..8d428eb4815 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -4222,9 +4222,6 @@ Case is ignored if `case-fold-search' is non-nil in the current buffer. */)
4222 if (NILP (BVAR (current_buffer, case_fold_search))) 4222 if (NILP (BVAR (current_buffer, case_fold_search)))
4223 return Qnil; 4223 return Qnil;
4224 4224
4225 /* Do these in separate statements,
4226 then compare the variables.
4227 because of the way downcase uses temp variables. */
4228 i1 = XFASTINT (c1); 4225 i1 = XFASTINT (c1);
4229 if (NILP (BVAR (current_buffer, enable_multibyte_characters)) 4226 if (NILP (BVAR (current_buffer, enable_multibyte_characters))
4230 && ! ASCII_CHAR_P (i1)) 4227 && ! ASCII_CHAR_P (i1))
@@ -4237,9 +4234,7 @@ Case is ignored if `case-fold-search' is non-nil in the current buffer. */)
4237 { 4234 {
4238 MAKE_CHAR_MULTIBYTE (i2); 4235 MAKE_CHAR_MULTIBYTE (i2);
4239 } 4236 }
4240 i1 = downcase (i1); 4237 return (downcase (i1) == downcase (i2) ? Qt : Qnil);
4241 i2 = downcase (i2);
4242 return (i1 == i2 ? Qt : Qnil);
4243} 4238}
4244 4239
4245/* Transpose the markers in two regions of the current buffer, and 4240/* Transpose the markers in two regions of the current buffer, and