From: Stefan Monnier Date: Sat, 3 May 2008 14:31:55 +0000 (+0000) Subject: (Fset_char_table_range): If range is t, really set all chars to that value. X-Git-Tag: emacs-pretest-23.0.90~5845 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6bff69edc9af8d59b806f88e7e0b41c3b0bd33d;p=emacs.git (Fset_char_table_range): If range is t, really set all chars to that value. --- diff --git a/src/ChangeLog b/src/ChangeLog index a6596173ab4..b2727835730 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-05-03 Stefan Monnier + + * chartab.c (Fset_char_table_range): If range is t, really set all + chars to that value. + 2008-05-03 Eli Zaretskii * dired.c (Ffile_attributes): Don't allow the device number become @@ -35,16 +40,16 @@ (compare_window_configurations): Handle resize_proportionally. (WINDOW_TOTAL_SIZE): New macro. (window_min_size, shrink_windows, size_window): Use it. - (check_min_window_sizes): Removed. Invalid values of + (check_min_window_sizes): Remove. Invalid values of window-min-height|width are handled by window_min_size_2 now. (size_window, Fsplit_window, enlarge_window) (adjust_window_trailing_edge, grow_mini_window): Don't call check_min_window_sizes. - (window_min_size_2, window_min_size_1, window_min_size): New - argument safe_p for retrieving "safe" minimum sizes. + (window_min_size_2, window_min_size_1, window_min_size): + New argument safe_p for retrieving "safe" minimum sizes. (Fdisplay_buffer, Fsplit_window, enlarge_window): - (adjust_window_trailing_edge, grow_mini_window): Adjust - arguments of window_min_size... functions. + (adjust_window_trailing_edge, grow_mini_window): + Adjust arguments of window_min_size... functions. (shrink_windows): Argument min_size removed. New argument safe_p allows shrinking windows to their safe minimum sizes. Calculate minimum size and decide whether a window shall be 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;