aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1994-03-30 03:11:04 +0000
committerKarl Heuer1994-03-30 03:11:04 +0000
commit992371ca5645ff547abc54060d02b70179921d27 (patch)
tree287713bda13852e97e7189f572e72e93f961da1a /src
parentfaa5c515a3ccc4bfcb842654ab2c5ec82ea33f17 (diff)
downloademacs-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.c11
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
613DEFUN ("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. */
615DEFUN ("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\
615Scan the current buffer forward from offset FROM,\n\ 617Scan the current buffer forward from offset FROM,\n\
616assuming it is at position FROMPOS--a cons of the form (HPOS . VPOS)--\n\ 618assuming 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\
622WIDTH is the number of columns available to display text;\n\ 624WIDTH is the number of columns available to display text;\n\
623this affects handling of continuation lines.\n\ 625this affects handling of continuation lines.\n\
624Use the value returned by `window-width' for the window of your choice.\n\ 626This is usually the value returned by `window-width', less one (to allow\n\
627for the continuation glyph).\n\
625\n\ 628\n\
626OFFSETS is either nil or a cons cell (HSCROLL . TAB-OFFSET).\n\ 629OFFSETS is either nil or a cons cell (HSCROLL . TAB-OFFSET).\n\
627HSCROLL is the number of columns not being displayed at the left\n\ 630HSCROLL 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\
644and the window's upper-left coordinates as FROMPOS.\n\ 647and the window's upper-left coordinates as FROMPOS.\n\
645Pass the buffer's (point-max) as TO, to limit the scan to the end of the\n\ 648Pass the buffer's (point-max) as TO, to limit the scan to the end of the\n\
646visible section of the buffer, and pass LINE and COL as TOPOS.") 649visible section of the buffer, and pass LINE and COL as TOPOS.")
650#endif
651
652DEFUN ("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;