From: Eli Zaretskii Date: Tue, 20 Mar 2012 18:49:18 +0000 (+0200) Subject: Doc fixes in w32-specific primitives related to console codepage. X-Git-Tag: emacs-pretest-24.0.05~83^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62356a1bdf51d8addbe6a9cb41c9b8ee6af91742;p=emacs.git Doc fixes in w32-specific primitives related to console codepage. src/w32proc.c (Fw32_set_console_codepage) (Fw32_set_console_output_codepage, Fw32_get_codepage_charset): Doc fixes. --- diff --git a/src/ChangeLog b/src/ChangeLog index ae8835478a5..4f32309562b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2012-03-20 Eli Zaretskii + + * w32proc.c (Fw32_set_console_codepage) + (Fw32_set_console_output_codepage, Fw32_get_codepage_charset): Doc + fixes. + 2012-03-20 Chong Yidong * dispnew.c (Fredisplay, Vredisplay_preemption_period): Update doc diff --git a/src/w32proc.c b/src/w32proc.c index f7982f36913..28591f90128 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -2067,8 +2067,8 @@ DEFUN ("w32-get-console-codepage", Fw32_get_console_codepage, DEFUN ("w32-set-console-codepage", Fw32_set_console_codepage, Sw32_set_console_codepage, 1, 1, 0, - doc: /* Make Windows codepage CP be the current codepage setting for Emacs. -The codepage setting affects keyboard input and display in tty mode. + doc: /* Make Windows codepage CP be the codepage for Emacs tty keyboard input. +This codepage setting affects keyboard input in tty mode. If successful, the new CP is returned, otherwise nil. */) (Lisp_Object cp) { @@ -2095,8 +2095,8 @@ DEFUN ("w32-get-console-output-codepage", Fw32_get_console_output_codepage, DEFUN ("w32-set-console-output-codepage", Fw32_set_console_output_codepage, Sw32_set_console_output_codepage, 1, 1, 0, - doc: /* Make Windows codepage CP be the current codepage setting for Emacs. -The codepage setting affects keyboard input and display in tty mode. + doc: /* Make Windows codepage CP be the codepage for Emacs console output. +This codepage setting affects display in tty mode. If successful, the new CP is returned, otherwise nil. */) (Lisp_Object cp) { @@ -2114,7 +2114,7 @@ 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 of codepage CP. + doc: /* Return charset ID corresponding to codepage CP. Returns nil if the codepage is not valid. */) (Lisp_Object cp) {