Commit bd47bd35 authored by Richard M. Stallman's avatar Richard M. Stallman

(casify_region, casify_object):

If case table has been changed, call Fset_case_table
parent f42be8fd
......@@ -35,6 +35,10 @@ casify_object (flag, obj)
register int i, c, len;
register int inword = flag == CASE_DOWN;
/* If the case table is flagged as modified, rescan it. */
if (NILP (XCHAR_TABLE (current_buffer->downcase_table)->extras[1]))
Fset_case_table (current_buffer->downcase_table);
while (1)
{
if (INTEGERP (obj))
......@@ -133,6 +137,10 @@ casify_region (flag, b, e)
/* Not modifying because nothing marked */
return;
/* If the case table is flagged as modified, rescan it. */
if (NILP (XCHAR_TABLE (current_buffer->downcase_table)->extras[1]))
Fset_case_table (current_buffer->downcase_table);
validate_region (&b, &e);
start = XFASTINT (b);
end = XFASTINT (e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment