diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-12-28 20:32:53 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-12-28 20:32:53 +0200 |
commit | c5504d100573499a9ac373e71627d1b8ccb1f64f (patch) | |
tree | 62edac38843042bbf69a8cddfbaecccf3a9098ae | |
parent | f646cd99e5f2181cbaef365d2f8262789a515e45 (diff) | |
download | emacs-c5504d100573499a9ac373e71627d1b8ccb1f64f.tar.gz |
src/w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458)
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/w32proc.c | 7 |
2 files changed, 10 insertions, 1 deletions
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 <eliz@gnu.org> + + * w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458) + 2014-12-28 Paul Eggert <eggert@Penguin.CS.UCLA.EDU> 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; |