aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa2009-02-16 11:53:52 +0000
committerKenichi Handa2009-02-16 11:53:52 +0000
commit5704f39a803314e9f5d621fa98de283465efb54e (patch)
tree2c5ab6729c28f94fd54e207a1463d10e224fa8a7 /src/coding.c
parent9eb59592ad279953ffc852e23704341aa6c7bde5 (diff)
downloademacs-5704f39a803314e9f5d621fa98de283465efb54e.tar.gz
emacs-5704f39a803314e9f5d621fa98de283465efb54e.zip
(Fcheck_coding_systems_region): Fix typo; Qt -> Qnil.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/coding.c b/src/coding.c
index abc7b3eca76..bd8c19f374a 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -8461,7 +8461,10 @@ value is nil.
8461 8461
8462START may be a string. In that case, check if the string is 8462START may be a string. In that case, check if the string is
8463encodable, and the value contains indices to the string instead of 8463encodable, and the value contains indices to the string instead of
8464buffer positions. END is ignored. */) 8464buffer positions. END is ignored.
8465
8466If the current buffer (or START if it is string) is unibyte, the value
8467is nil. */)
8465 (start, end, coding_system_list) 8468 (start, end, coding_system_list)
8466 Lisp_Object start, end, coding_system_list; 8469 Lisp_Object start, end, coding_system_list;
8467{ 8470{
@@ -8492,7 +8495,7 @@ buffer positions. END is ignored. */)
8492 start_byte = CHAR_TO_BYTE (XINT (start)); 8495 start_byte = CHAR_TO_BYTE (XINT (start));
8493 end_byte = CHAR_TO_BYTE (XINT (end)); 8496 end_byte = CHAR_TO_BYTE (XINT (end));
8494 if (XINT (end) - XINT (start) == end_byte - start_byte) 8497 if (XINT (end) - XINT (start) == end_byte - start_byte)
8495 return Qt; 8498 return Qnil;
8496 8499
8497 if (XINT (start) < GPT && XINT (end) > GPT) 8500 if (XINT (start) < GPT && XINT (end) > GPT)
8498 { 8501 {