Commit c6bff69e authored by Stefan Monnier's avatar Stefan Monnier

(Fset_char_table_range): If range is t, really set all chars to that value.

parent d97d570d
2008-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
* chartab.c (Fset_char_table_range): If range is t, really set all
chars to that value.
2008-05-03 Eli Zaretskii <eliz@gnu.org>
* 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
......
......@@ -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;
......
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