aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog33
-rw-r--r--src/buffer.c4
2 files changed, 20 insertions, 17 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d2c069b7351..38c452f354e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * buffer.c (syms_of_buffer) <enable-multibyte-characters>: Don't
4 advertise functionality which we discourage or doesn't work.
5
12011-10-07 Paul Eggert <eggert@cs.ucla.edu> 62011-10-07 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 * alloc.c (GC_LISP_OBJECT_ALIGNMENT): Use offsetof, not __alignof__ 8 * alloc.c (GC_LISP_OBJECT_ALIGNMENT): Use offsetof, not __alignof__
@@ -142,8 +147,8 @@
142 147
1432011-09-24 Eli Zaretskii <eliz@gnu.org> 1482011-09-24 Eli Zaretskii <eliz@gnu.org>
144 149
145 * dispnew.c (syms_of_display) <redisplay-dont-pause>: Default 150 * dispnew.c (syms_of_display) <redisplay-dont-pause>:
146 value is now t. Doc fix. 151 Default value is now t. Doc fix.
147 152
148 * indent.c (Fvertical_motion): Compute and apply the overshoot 153 * indent.c (Fvertical_motion): Compute and apply the overshoot
149 logic when moving up, not only when moving down. Fix the 154 logic when moving up, not only when moving down. Fix the
@@ -159,8 +164,8 @@
159 164
160 * dbusbind.c (Fdbus_register_signal): Add match rule to 165 * dbusbind.c (Fdbus_register_signal): Add match rule to
161 Vdbus_registered_objects_table. (Bug#9581) 166 Vdbus_registered_objects_table. (Bug#9581)
162 (Fdbus_register_method, Vdbus_registered_objects_table): Fix 167 (Fdbus_register_method, Vdbus_registered_objects_table):
163 docstring. 168 Fix docstring.
164 169
1652011-09-24 Jim Meyering <meyering@redhat.com> 1702011-09-24 Jim Meyering <meyering@redhat.com>
166 171
@@ -640,15 +645,15 @@
640 * term.c (tty_append_glyph): New function. 645 * term.c (tty_append_glyph): New function.
641 (produce_stretch_glyph): Static function and its prototype deleted. 646 (produce_stretch_glyph): Static function and its prototype deleted.
642 647
643 * dispextern.h (produce_stretch_glyph, tty_append_glyph): Add 648 * dispextern.h (produce_stretch_glyph, tty_append_glyph):
644 prototypes. 649 Add prototypes.
645 650
6462011-08-29 Paul Eggert <eggert@cs.ucla.edu> 6512011-08-29 Paul Eggert <eggert@cs.ucla.edu>
647 652
648 * image.c (parse_image_spec): Check for nonnegative, not for positive, 653 * image.c (parse_image_spec): Check for nonnegative, not for positive,
649 when checking :margin (Bug#9390). 654 when checking :margin (Bug#9390).
650 (IMAGE_NON_NEGATIVE_INTEGER_VALUE_OR_PAIR): 655 (IMAGE_NON_NEGATIVE_INTEGER_VALUE_OR_PAIR):
651 Renamed from IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR, 656 Rename from IMAGE_POSITIVE_INTEGER_VALUE_OR_PAIR,
652 so that the name doesn't mislead. All uses changed. 657 so that the name doesn't mislead. All uses changed.
653 658
6542011-08-28 Johan Bockgård <bojohan@gnu.org> 6592011-08-28 Johan Bockgård <bojohan@gnu.org>
@@ -850,8 +855,8 @@
850 (read_char_minibuf_menu_prompt, follow_key, read_key_sequence): 855 (read_char_minibuf_menu_prompt, follow_key, read_key_sequence):
851 Use ptrdiff_t, not int, to count maps. 856 Use ptrdiff_t, not int, to count maps.
852 (read_char_minibuf_menu_prompt): Check for overflow in size 857 (read_char_minibuf_menu_prompt): Check for overflow in size
853 calculations. Don't update size until allocation succeeds. Redo 858 calculations. Don't update size until allocation succeeds.
854 calculations to avoid overflow. 859 Redo calculations to avoid overflow.
855 * keyboard.h: Change prototypes to match the above. 860 * keyboard.h: Change prototypes to match the above.
856 861
857 * keymap.c (cmm_size, current_minor_maps): Use ptrdiff_t, not int, 862 * keymap.c (cmm_size, current_minor_maps): Use ptrdiff_t, not int,
@@ -1020,7 +1025,7 @@
1020 * indent.c (MULTIBYTE_BYTES_WIDTH): 1025 * indent.c (MULTIBYTE_BYTES_WIDTH):
1021 Use sanitize_char_width to avoid undefined and/or bad behavior 1026 Use sanitize_char_width to avoid undefined and/or bad behavior
1022 with outlandish widths. 1027 with outlandish widths.
1023 * character.h (sanitize_tab_width): Renamed from sanitize_width, 1028 * character.h (sanitize_tab_width): Rename from sanitize_width,
1024 now that we have two such functions. All uses changed. 1029 now that we have two such functions. All uses changed.
1025 (sanitize_char_width): New inline function. 1030 (sanitize_char_width): New inline function.
1026 1031
@@ -1086,8 +1091,8 @@
1086 (png_load, gif_load, svg_load_image): 1091 (png_load, gif_load, svg_load_image):
1087 Prefer int to unsigned where either will do. 1092 Prefer int to unsigned where either will do.
1088 (tiff_handler): New function, combining the cores of the 1093 (tiff_handler): New function, combining the cores of the
1089 old tiff_error_handler and tiff_warning_handler. This 1094 old tiff_error_handler and tiff_warning_handler.
1090 function is rewritten to use vsnprintf and thereby avoid 1095 This function is rewritten to use vsnprintf and thereby avoid
1091 stack buffer overflows. It uses only the features of vsnprintf 1096 stack buffer overflows. It uses only the features of vsnprintf
1092 that are common to both POSIX and native Microsoft. 1097 that are common to both POSIX and native Microsoft.
1093 (tiff_error_handler, tiff_warning_handler): Use it. 1098 (tiff_error_handler, tiff_warning_handler): Use it.
@@ -1116,8 +1121,8 @@
1116 `(space ...)', and specifies display in the text area, return 2 1121 `(space ...)', and specifies display in the text area, return 2
1117 rather than 1. 1122 rather than 1.
1118 (try_cursor_movement): Check for the need to scroll more 1123 (try_cursor_movement): Check for the need to scroll more
1119 accurately, and prefer exact match for point under bidi. Don't 1124 accurately, and prefer exact match for point under bidi.
1120 advance `row' beyond the last row of the window. 1125 Don't advance `row' beyond the last row of the window.
1121 1126
1122 * dispextern.h (struct bidi_it): Rename the disp_prop_p member 1127 * dispextern.h (struct bidi_it): Rename the disp_prop_p member
1123 into disp_prop; all users changed. 1128 into disp_prop; all users changed.
diff --git a/src/buffer.c b/src/buffer.c
index f38c9a739a6..fdf006a41eb 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5448,9 +5448,7 @@ file I/O and the behavior of various editing commands.
5448 5448
5449This variable is buffer-local but you cannot set it directly; 5449This variable is buffer-local but you cannot set it directly;
5450use the function `set-buffer-multibyte' to change a buffer's representation. 5450use the function `set-buffer-multibyte' to change a buffer's representation.
5451Changing its default value with `setq-default' is supported. 5451See also Info node `(elisp)Text Representations'. */);
5452See also variable `default-enable-multibyte-characters' and Info node
5453`(elisp)Text Representations'. */);
5454 XSYMBOL (intern_c_string ("enable-multibyte-characters"))->constant = 1; 5452 XSYMBOL (intern_c_string ("enable-multibyte-characters"))->constant = 1;
5455 5453
5456 DEFVAR_PER_BUFFER ("buffer-file-coding-system", 5454 DEFVAR_PER_BUFFER ("buffer-file-coding-system",