aboutsummaryrefslogtreecommitdiffstats
path: root/src/character.c
diff options
context:
space:
mode:
authorJuanma Barranquero2008-04-16 11:37:21 +0000
committerJuanma Barranquero2008-04-16 11:37:21 +0000
commitadd553ac7edaf2d6ced692fbc953d56518a00cb5 (patch)
treebbe3d8e1da44b6c6f73eb1432dd3969218a9df30 /src/character.c
parenteb320d93d1517ddc75f933b75a8e1227729ae957 (diff)
downloademacs-add553ac7edaf2d6ced692fbc953d56518a00cb5.tar.gz
emacs-add553ac7edaf2d6ced692fbc953d56518a00cb5.zip
(Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction):
Add usage in the docstring.
Diffstat (limited to 'src/character.c')
-rw-r--r--src/character.c12
1 files changed, 8 insertions, 4 deletions
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
365DEFUN ("char-bytes", Fchar_bytes, Schar_bytes, 1, 1, 0, 365DEFUN ("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.
367This is now an obsolete function. We keep it just for backward compatibility. */) 367This is now an obsolete function. We keep it just for backward compatibility.
368usage: (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.
375DEFUN ("char-width", Fchar_width, Schar_width, 1, 1, 0, 376DEFUN ("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.
377The width is measured by how many columns it occupies on the screen. 378The width is measured by how many columns it occupies on the screen.
378Tab is taken to occupy `tab-width' columns. */) 379Tab is taken to occupy `tab-width' columns.
380usage: (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.
552When calculating width of a multibyte character in STRING, 554When calculating width of a multibyte character in STRING,
553only the base leading-code is considered; the validity of 555only the base leading-code is considered; the validity of
554the following bytes is not checked. Tabs in STRING are always 556the following bytes is not checked. Tabs in STRING are always
555taken to occupy `tab-width' columns. */) 557taken to occupy `tab-width' columns.
558usage: (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
566DEFUN ("char-direction", Fchar_direction, Schar_direction, 1, 1, 0, 569DEFUN ("char-direction", Fchar_direction, Schar_direction, 1, 1, 0,
567 doc: /* Return the direction of CHAR. 570 doc: /* Return the direction of CHAR.
568The returned value is 0 for left-to-right and 1 for right-to-left. */) 571The returned value is 0 for left-to-right and 1 for right-to-left.
572usage: (char-direction CHAR) */)
569 (ch) 573 (ch)
570 Lisp_Object ch; 574 Lisp_Object ch;
571{ 575{