From: Eli Zaretskii Date: Sun, 28 Dec 2014 18:32:53 +0000 (+0200) Subject: src/w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458) X-Git-Tag: emacs-24.4.90~89 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c5504d1;p=emacs.git src/w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458) --- diff --git a/src/ChangeLog b/src/ChangeLog index 3ea60571a15..94f07c88c0f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-12-28 Eli Zaretskii + + * w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458) + 2014-12-28 Paul Eggert Port memory-full checking to GnuTLS 3.3 diff --git a/src/w32proc.c b/src/w32proc.c index 96f11657892..408230ca90a 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -3054,7 +3054,12 @@ If successful, the new CP is returned, otherwise nil. */) DEFUN ("w32-get-codepage-charset", Fw32_get_codepage_charset, Sw32_get_codepage_charset, 1, 1, 0, doc: /* Return charset ID corresponding to codepage CP. -Returns nil if the codepage is not valid. */) +Returns nil if the codepage is not valid or its charset ID could +not be determined. + +Note that this function is only guaranteed to work with ANSI +codepages; most console codepages are not supported and will +yield nil. */) (Lisp_Object cp) { CHARSETINFO info;