Commit 045eb8d9 authored by Paul Eggert's avatar Paul Eggert
Browse files

* editfns.c (Ftranslate_region_internal): Omit redundant test.

parent c1f134b5
2011-06-13 Paul Eggert <>
* editfns.c (Ftranslate_region_internal): Omit redundant test.
* fns.c (concat): Minor tuning based on overflow analysis.
This doesn't fix any bugs. Use int to hold character, instead
of constantly refetching from Emacs object. Use XFASTINT, not
......@@ -3088,14 +3088,11 @@ It returns the number of characters changed. */)
int c;
nc = oc;
val = CHAR_TABLE_REF (table, oc);
if (CHARACTERP (val)
&& (c = XFASTINT (val), CHAR_VALID_P (c, 0)))
if (CHARACTERP (val))
nc = c;
nc = XFASTINT (val);
str_len = CHAR_STRING (nc, buf);
str = buf;
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