diff options
| author | Karl Heuer | 1994-03-30 03:11:04 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-03-30 03:11:04 +0000 |
| commit | 992371ca5645ff547abc54060d02b70179921d27 (patch) | |
| tree | 287713bda13852e97e7189f572e72e93f961da1a /src | |
| parent | faa5c515a3ccc4bfcb842654ab2c5ec82ea33f17 (diff) | |
| download | emacs-992371ca5645ff547abc54060d02b70179921d27.tar.gz emacs-992371ca5645ff547abc54060d02b70179921d27.zip | |
(Fcompute_motion): Doc fix.
Also extracted long doc string to avoid compiler limitations.
Diffstat (limited to 'src')
| -rw-r--r-- | src/indent.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index 7a8995b9392..ba1cc334b85 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -610,7 +610,9 @@ compute_motion (from, fromvpos, fromhpos, to, tovpos, tohpos, width, hscroll, ta | |||
| 610 | return &val_compute_motion; | 610 | return &val_compute_motion; |
| 611 | } | 611 | } |
| 612 | 612 | ||
| 613 | DEFUN ("compute-motion", Fcompute_motion, Scompute_motion, 6, 6, 0, | 613 | #if 0 /* The doc string is too long for some compilers, |
| 614 | but make-docfile can find it in this comment. */ | ||
| 615 | DEFUN ("compute-motion", Ffoo, Sfoo, 6, 6, 0, | ||
| 614 | "Scan through the current buffer, calculating screen position.\n\ | 616 | "Scan through the current buffer, calculating screen position.\n\ |
| 615 | Scan the current buffer forward from offset FROM,\n\ | 617 | Scan the current buffer forward from offset FROM,\n\ |
| 616 | assuming it is at position FROMPOS--a cons of the form (HPOS . VPOS)--\n\ | 618 | assuming it is at position FROMPOS--a cons of the form (HPOS . VPOS)--\n\ |
| @@ -621,7 +623,8 @@ There are two additional arguments:\n\ | |||
| 621 | \n\ | 623 | \n\ |
| 622 | WIDTH is the number of columns available to display text;\n\ | 624 | WIDTH is the number of columns available to display text;\n\ |
| 623 | this affects handling of continuation lines.\n\ | 625 | this affects handling of continuation lines.\n\ |
| 624 | Use the value returned by `window-width' for the window of your choice.\n\ | 626 | This is usually the value returned by `window-width', less one (to allow\n\ |
| 627 | for the continuation glyph).\n\ | ||
| 625 | \n\ | 628 | \n\ |
| 626 | OFFSETS is either nil or a cons cell (HSCROLL . TAB-OFFSET).\n\ | 629 | OFFSETS is either nil or a cons cell (HSCROLL . TAB-OFFSET).\n\ |
| 627 | HSCROLL is the number of columns not being displayed at the left\n\ | 630 | HSCROLL is the number of columns not being displayed at the left\n\ |
| @@ -644,6 +647,10 @@ of a certain window, pass the window's starting location as FROM\n\ | |||
| 644 | and the window's upper-left coordinates as FROMPOS.\n\ | 647 | and the window's upper-left coordinates as FROMPOS.\n\ |
| 645 | Pass the buffer's (point-max) as TO, to limit the scan to the end of the\n\ | 648 | Pass the buffer's (point-max) as TO, to limit the scan to the end of the\n\ |
| 646 | visible section of the buffer, and pass LINE and COL as TOPOS.") | 649 | visible section of the buffer, and pass LINE and COL as TOPOS.") |
| 650 | #endif | ||
| 651 | |||
| 652 | DEFUN ("compute-motion", Ffoo, Sfoo, 6, 6, 0, | ||
| 653 | 0) | ||
| 647 | (from, frompos, to, topos, width, offsets) | 654 | (from, frompos, to, topos, width, offsets) |
| 648 | Lisp_Object from, frompos, to, topos; | 655 | Lisp_Object from, frompos, to, topos; |
| 649 | Lisp_Object width, offsets; | 656 | Lisp_Object width, offsets; |