diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-03 14:31:55 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2008-05-03 14:31:55 +0000 |
commit | c6bff69edc9af8d59b806f88e7e0b41c3b0bd33d (patch) | |
tree | 122b55b6f6c3c3a559f0a6bf6bd3a1caa591bec0 /src/chartab.c | |
parent | d97d570d2c47d3a3cdf5d19c841e310042515438 (diff) | |
download | emacs-c6bff69edc9af8d59b806f88e7e0b41c3b0bd33d.tar.gz |
(Fset_char_table_range): If range is t, really set all chars to that value.
Diffstat (limited to 'src/chartab.c')
-rw-r--r-- | src/chartab.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/chartab.c b/src/chartab.c index f7a3c2ccbf5..1e7262196b6 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -611,10 +611,9 @@ or a character code. Return VALUE. */) { int i; - XCHAR_TABLE (char_table)->ascii = Qnil; + XCHAR_TABLE (char_table)->ascii = value; for (i = 0; i < chartab_size[0]; i++) - XCHAR_TABLE (char_table)->contents[i] = Qnil; - XCHAR_TABLE (char_table)->defalt = value; + XCHAR_TABLE (char_table)->contents[i] = value; } else if (EQ (range, Qnil)) XCHAR_TABLE (char_table)->defalt = value; |