From: Xue Fuqiao Date: Thu, 12 Sep 2013 13:12:39 +0000 (+0800) Subject: * src/charset.c (char_charset): Document an exception for char-charset. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1662^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=15c6d837a554bd128c1d5ef7b46fd05d6eba52ab;p=emacs.git * src/charset.c (char_charset): Document an exception for char-charset. --- diff --git a/src/ChangeLog b/src/ChangeLog index 069a9885b4c..b4d1c2b67df 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-09-12 Xue Fuqiao + + * charset.c (char_charset): Document an exception for char-charset. + 2013-09-12 Dmitry Antipov * xterm.h (x_display_info): New field last_user_time... diff --git a/src/charset.c b/src/charset.c index eedf65faa6c..d46cb445f85 100644 --- a/src/charset.c +++ b/src/charset.c @@ -2053,6 +2053,8 @@ CH in the charset. */) DEFUN ("char-charset", Fchar_charset, Schar_charset, 1, 2, 0, doc: /* Return the charset of highest priority that contains CH. +ASCII characters are an exception: for them, this function always +returns `ascii'. If optional 2nd arg RESTRICTION is non-nil, it is a list of charsets from which to find the charset. It may also be a coding system. In that case, find the charset from what supported by that coding system. */)