Mercurial > emacs
comparison src/search.c @ 4954:dc4d4f874b5c
(Fskip_chars_backward, Fskip_chars_forward): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 10 Nov 1993 19:52:09 +0000 |
parents | be690aaa7194 |
children | 14161cfec24a |
comparison
equal
deleted
inserted
replaced
4953:7545290052bf | 4954:dc4d4f874b5c |
---|---|
350 } | 350 } |
351 | 351 |
352 Lisp_Object skip_chars (); | 352 Lisp_Object skip_chars (); |
353 | 353 |
354 DEFUN ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0, | 354 DEFUN ("skip-chars-forward", Fskip_chars_forward, Sskip_chars_forward, 1, 2, 0, |
355 "Move point forward, stopping before a char not in CHARS, or at position LIM.\n\ | 355 "Move point forward, stopping before a char not in STRING, or at pos LIM.\n\ |
356 CHARS is like the inside of a `[...]' in a regular expression\n\ | 356 STRING is like the inside of a `[...]' in a regular expression\n\ |
357 except that `]' is never special and `\\' quotes `^', `-' or `\\'.\n\ | 357 except that `]' is never special and `\\' quotes `^', `-' or `\\'.\n\ |
358 Thus, with arg \"a-zA-Z\", this skips letters stopping before first nonletter.\n\ | 358 Thus, with arg \"a-zA-Z\", this skips letters stopping before first nonletter.\n\ |
359 With arg \"^a-zA-Z\", skips nonletters stopping before first letter.\n\ | 359 With arg \"^a-zA-Z\", skips nonletters stopping before first letter.\n\ |
360 Returns the distance traveled, either zero or positive.") | 360 Returns the distance traveled, either zero or positive.") |
361 (string, lim) | 361 (string, lim) |
363 { | 363 { |
364 return skip_chars (1, 0, string, lim); | 364 return skip_chars (1, 0, string, lim); |
365 } | 365 } |
366 | 366 |
367 DEFUN ("skip-chars-backward", Fskip_chars_backward, Sskip_chars_backward, 1, 2, 0, | 367 DEFUN ("skip-chars-backward", Fskip_chars_backward, Sskip_chars_backward, 1, 2, 0, |
368 "Move point backward, stopping after a char not in CHARS, or at position LIM.\n\ | 368 "Move point backward, stopping after a char not in STRING, or at pos LIM.\n\ |
369 See `skip-chars-forward' for details.\n\ | 369 See `skip-chars-forward' for details.\n\ |
370 Returns the distance traveled, either zero or negative.") | 370 Returns the distance traveled, either zero or negative.") |
371 (string, lim) | 371 (string, lim) |
372 Lisp_Object string, lim; | 372 Lisp_Object string, lim; |
373 { | 373 { |