2014-07-17 Eli Zaretskii <eliz@gnu.org>
+ * w32select.c (setup_windows_coding_system): Apply
+ CODING_ANNOTATION_MASK to the common_flags member of struct
+ coding_system. Reported by martin rudalics <rudalics@gmx.at>.
+
+ * w16select.c (Fw16_get_clipboard_data): Apply
+ CODING_ANNOTATION_MASK to the common_flags member of struct
+ coding_system.
+
+
* xdisp.c (init_iterator): Initialize it->stop_charpos to the
buffer position where we are to start the iteration.
(handle_invisible_prop): Record in it->stop_charpos the position
coding.mode |= CODING_MODE_LAST_BLOCK;
/* We explicitly disable composition handling because selection
data should not contain any composition sequence. */
- coding.mode &= CODING_ANNOTATION_MASK;
+ coding.common_flags &= CODING_ANNOTATION_MASK;
decode_coding_object (&coding, Qnil, 0, 0, truelen, truelen, Qt);
ret = coding.dst_object;
Vlast_coding_system_used = CODING_ID_NAME (coding.id);
which both apply to ISO6429 only. We don't know if these really
need to be unset on Windows, but it probably doesn't hurt
either. */
- coding->mode &= ~CODING_ANNOTATION_MASK;
+ coding->common_flags &= ~CODING_ANNOTATION_MASK;
coding->mode |= CODING_MODE_LAST_BLOCK | CODING_MODE_SAFE_ENCODING;
}