]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fset_char_table_range): If range is t, really set all chars to that value.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 3 May 2008 14:31:55 +0000 (14:31 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 3 May 2008 14:31:55 +0000 (14:31 +0000)
src/ChangeLog
src/chartab.c

index a6596173ab4c1149099a33c90076952c682b1dde..b2727835730770807045e55c1832157ef4b42bbe 100644 (file)
@@ -1,3 +1,8 @@
+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
        (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
index f7a3c2ccbf5b669e7d8fcc9f86e40af51de5ce42..1e7262196b625f280f9447aa467bbf9ac3364f67 100644 (file)
@@ -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;