diff options
| author | Juanma Barranquero | 2004-05-10 17:51:27 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2004-05-10 17:51:27 +0000 |
| commit | bc0018148ad747df32ece7f115d1b7cccb196b4f (patch) | |
| tree | 5adc8f6e4ec11c521bef7f5a4754829776a0ed8c | |
| parent | 553acde508f644c41f5dfb0041e41434ca232526 (diff) | |
| download | emacs-bc0018148ad747df32ece7f115d1b7cccb196b4f.tar.gz emacs-bc0018148ad747df32ece7f115d1b7cccb196b4f.zip | |
(Fget_unused_iso_final_char): Fix typos in docstring.
(Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction, Fsplit_char)
(Fchar_charset): Make argument names match their use in docstring.
| -rw-r--r-- | src/charset.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/charset.c b/src/charset.c index 48382a44bd6..57a12b2398d 100644 --- a/src/charset.c +++ b/src/charset.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Basic multilingual character support. | 1 | /* Basic multilingual character support. |
| 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. | 2 | Copyright (C) 1995, 1997, 1998 Electrotechnical Laboratory, JAPAN. |
| 3 | Licensed to the Free Software Foundation. | 3 | Licensed to the Free Software Foundation. |
| 4 | Copyright (C) 2001 Free Software Foundation, Inc. | 4 | Copyright (C) 2001, 2004 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -730,7 +730,7 @@ It includes a generic character for a charset not yet defined. */) | |||
| 730 | 730 | ||
| 731 | DEFUN ("get-unused-iso-final-char", Fget_unused_iso_final_char, | 731 | DEFUN ("get-unused-iso-final-char", Fget_unused_iso_final_char, |
| 732 | Sget_unused_iso_final_char, 2, 2, 0, | 732 | Sget_unused_iso_final_char, 2, 2, 0, |
| 733 | doc: /* Return an unsed ISO's final char for a charset of DIMENISION and CHARS. | 733 | doc: /* Return an unused ISO's final char for a charset of DIMENSION and CHARS. |
| 734 | DIMENSION is the number of bytes to represent a character: 1 or 2. | 734 | DIMENSION is the number of bytes to represent a character: 1 or 2. |
| 735 | CHARS is the number of characters in a dimension: 94 or 96. | 735 | CHARS is the number of characters in a dimension: 94 or 96. |
| 736 | 736 | ||
| @@ -1028,9 +1028,9 @@ Internal use only. */) | |||
| 1028 | } | 1028 | } |
| 1029 | 1029 | ||
| 1030 | DEFUN ("split-char", Fsplit_char, Ssplit_char, 1, 1, 0, | 1030 | DEFUN ("split-char", Fsplit_char, Ssplit_char, 1, 1, 0, |
| 1031 | doc: /* Return list of charset and one or two position-codes of CHAR. | 1031 | doc: /* Return list of charset and one or two position-codes of CH. |
| 1032 | If CHAR is invalid as a character code, | 1032 | If CH is invalid as a character code, |
| 1033 | return a list of symbol `unknown' and CHAR. */) | 1033 | return a list of symbol `unknown' and CH. */) |
| 1034 | (ch) | 1034 | (ch) |
| 1035 | Lisp_Object ch; | 1035 | Lisp_Object ch; |
| 1036 | { | 1036 | { |
| @@ -1048,7 +1048,7 @@ return a list of symbol `unknown' and CHAR. */) | |||
| 1048 | } | 1048 | } |
| 1049 | 1049 | ||
| 1050 | DEFUN ("char-charset", Fchar_charset, Schar_charset, 1, 1, 0, | 1050 | DEFUN ("char-charset", Fchar_charset, Schar_charset, 1, 1, 0, |
| 1051 | doc: /* Return charset of CHAR. */) | 1051 | doc: /* Return charset of CH. */) |
| 1052 | (ch) | 1052 | (ch) |
| 1053 | Lisp_Object ch; | 1053 | Lisp_Object ch; |
| 1054 | { | 1054 | { |
| @@ -1179,7 +1179,7 @@ The conversion is done based on `nonascii-translation-table' (which see) | |||
| 1179 | } | 1179 | } |
| 1180 | 1180 | ||
| 1181 | DEFUN ("char-bytes", Fchar_bytes, Schar_bytes, 1, 1, 0, | 1181 | DEFUN ("char-bytes", Fchar_bytes, Schar_bytes, 1, 1, 0, |
| 1182 | doc: /* Return 1 regardless of the argument CHAR. */) | 1182 | doc: /* Return 1 regardless of the argument CH. */) |
| 1183 | (ch) | 1183 | (ch) |
| 1184 | Lisp_Object ch; | 1184 | Lisp_Object ch; |
| 1185 | { | 1185 | { |
| @@ -1223,7 +1223,7 @@ char_bytes (c) | |||
| 1223 | : 4)))) | 1223 | : 4)))) |
| 1224 | 1224 | ||
| 1225 | DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0, | 1225 | DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0, |
| 1226 | doc: /* Return width of CHAR when displayed in the current buffer. | 1226 | doc: /* Return width of CH when displayed in the current buffer. |
| 1227 | The width is measured by how many columns it occupies on the screen. | 1227 | The width is measured by how many columns it occupies on the screen. |
| 1228 | Tab is taken to occupy `tab-width' columns. */) | 1228 | Tab is taken to occupy `tab-width' columns. */) |
| 1229 | (ch) | 1229 | (ch) |
| @@ -1406,18 +1406,18 @@ When calculating width of a multibyte character in STRING, | |||
| 1406 | only the base leading-code is considered; the validity of | 1406 | only the base leading-code is considered; the validity of |
| 1407 | the following bytes is not checked. Tabs in STRING are always | 1407 | the following bytes is not checked. Tabs in STRING are always |
| 1408 | taken to occupy `tab-width' columns. */) | 1408 | taken to occupy `tab-width' columns. */) |
| 1409 | (str) | 1409 | (string) |
| 1410 | Lisp_Object str; | 1410 | Lisp_Object string; |
| 1411 | { | 1411 | { |
| 1412 | Lisp_Object val; | 1412 | Lisp_Object val; |
| 1413 | 1413 | ||
| 1414 | CHECK_STRING (str); | 1414 | CHECK_STRING (string); |
| 1415 | XSETFASTINT (val, lisp_string_width (str, -1, NULL, NULL)); | 1415 | XSETFASTINT (val, lisp_string_width (string, -1, NULL, NULL)); |
| 1416 | return val; | 1416 | return val; |
| 1417 | } | 1417 | } |
| 1418 | 1418 | ||
| 1419 | DEFUN ("char-direction", Fchar_direction, Schar_direction, 1, 1, 0, | 1419 | DEFUN ("char-direction", Fchar_direction, Schar_direction, 1, 1, 0, |
| 1420 | doc: /* Return the direction of CHAR. | 1420 | doc: /* Return the direction of CH. |
| 1421 | The returned value is 0 for left-to-right and 1 for right-to-left. */) | 1421 | The returned value is 0 for left-to-right and 1 for right-to-left. */) |
| 1422 | (ch) | 1422 | (ch) |
| 1423 | Lisp_Object ch; | 1423 | Lisp_Object ch; |