diff options
| author | Juanma Barranquero | 2008-04-16 11:37:21 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-04-16 11:37:21 +0000 |
| commit | add553ac7edaf2d6ced692fbc953d56518a00cb5 (patch) | |
| tree | bbe3d8e1da44b6c6f73eb1432dd3969218a9df30 /src | |
| parent | eb320d93d1517ddc75f933b75a8e1227729ae957 (diff) | |
| download | emacs-add553ac7edaf2d6ced692fbc953d56518a00cb5.tar.gz emacs-add553ac7edaf2d6ced692fbc953d56518a00cb5.zip | |
(Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction):
Add usage in the docstring.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/character.c | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 30920d68e5e..b814ed3e57f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-04-16 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * character.c (Fchar_bytes, Fchar_width, Fstring_width) | ||
| 4 | (Fchar_direction): Add usage in the docstring. | ||
| 5 | |||
| 1 | 2008-04-15 Chong Yidong <cyd@stupidchicken.com> | 6 | 2008-04-15 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * keyboard.c (read_key_sequence): Remove always-true checks. | 8 | * keyboard.c (read_key_sequence): Remove always-true checks. |
diff --git a/src/character.c b/src/character.c index 457d57f9251..a4e142e371c 100644 --- a/src/character.c +++ b/src/character.c | |||
| @@ -364,7 +364,8 @@ the current primary charset (value of `charset-primary'). */) | |||
| 364 | 364 | ||
| 365 | DEFUN ("char-bytes", Fchar_bytes, Schar_bytes, 1, 1, 0, | 365 | DEFUN ("char-bytes", Fchar_bytes, Schar_bytes, 1, 1, 0, |
| 366 | doc: /* Return 1 regardless of the argument CHAR. | 366 | doc: /* Return 1 regardless of the argument CHAR. |
| 367 | This is now an obsolete function. We keep it just for backward compatibility. */) | 367 | This is now an obsolete function. We keep it just for backward compatibility. |
| 368 | usage: (char-bytes CHAR) */) | ||
| 368 | (ch) | 369 | (ch) |
| 369 | Lisp_Object ch; | 370 | Lisp_Object ch; |
| 370 | { | 371 | { |
| @@ -375,7 +376,8 @@ This is now an obsolete function. We keep it just for backward compatibility. | |||
| 375 | DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0, | 376 | DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0, |
| 376 | doc: /* Return width of CHAR when displayed in the current buffer. | 377 | doc: /* Return width of CHAR when displayed in the current buffer. |
| 377 | The width is measured by how many columns it occupies on the screen. | 378 | The width is measured by how many columns it occupies on the screen. |
| 378 | Tab is taken to occupy `tab-width' columns. */) | 379 | Tab is taken to occupy `tab-width' columns. |
| 380 | usage: (char-width CHAR) */) | ||
| 379 | (ch) | 381 | (ch) |
| 380 | Lisp_Object ch; | 382 | Lisp_Object ch; |
| 381 | { | 383 | { |
| @@ -552,7 +554,8 @@ Width is measured by how many columns it occupies on the screen. | |||
| 552 | When calculating width of a multibyte character in STRING, | 554 | When calculating width of a multibyte character in STRING, |
| 553 | only the base leading-code is considered; the validity of | 555 | only the base leading-code is considered; the validity of |
| 554 | the following bytes is not checked. Tabs in STRING are always | 556 | the following bytes is not checked. Tabs in STRING are always |
| 555 | taken to occupy `tab-width' columns. */) | 557 | taken to occupy `tab-width' columns. |
| 558 | usage: (string-width STRING) */) | ||
| 556 | (str) | 559 | (str) |
| 557 | Lisp_Object str; | 560 | Lisp_Object str; |
| 558 | { | 561 | { |
| @@ -565,7 +568,8 @@ taken to occupy `tab-width' columns. */) | |||
| 565 | 568 | ||
| 566 | DEFUN ("char-direction", Fchar_direction, Schar_direction, 1, 1, 0, | 569 | DEFUN ("char-direction", Fchar_direction, Schar_direction, 1, 1, 0, |
| 567 | doc: /* Return the direction of CHAR. | 570 | doc: /* Return the direction of CHAR. |
| 568 | The returned value is 0 for left-to-right and 1 for right-to-left. */) | 571 | The returned value is 0 for left-to-right and 1 for right-to-left. |
| 572 | usage: (char-direction CHAR) */) | ||
| 569 | (ch) | 573 | (ch) |
| 570 | Lisp_Object ch; | 574 | Lisp_Object ch; |
| 571 | { | 575 | { |