# HG changeset patch # User Kenichi Handa # Date 1234785177 0 # Node ID 4d3a5c88cb2b31afeabcd068a5048cd069865045 # Parent c35aac5fa64ed1b57ecb6743549a9b060e74adf1 (Fcheck_coding_systems_region): Fix typo; Qt -> Qnil. diff -r c35aac5fa64e -r 4d3a5c88cb2b src/coding.c --- a/src/coding.c Mon Feb 16 09:32:19 2009 +0000 +++ b/src/coding.c Mon Feb 16 11:52:57 2009 +0000 @@ -8461,7 +8461,10 @@ START may be a string. In that case, check if the string is encodable, and the value contains indices to the string instead of -buffer positions. END is ignored. */) +buffer positions. END is ignored. + +If the current buffer (or START if it is string) is unibyte, the value +is nil. */) (start, end, coding_system_list) Lisp_Object start, end, coding_system_list; { @@ -8492,7 +8495,7 @@ start_byte = CHAR_TO_BYTE (XINT (start)); end_byte = CHAR_TO_BYTE (XINT (end)); if (XINT (end) - XINT (start) == end_byte - start_byte) - return Qt; + return Qnil; if (XINT (start) < GPT && XINT (end) > GPT) {