Function: skip-chars-forward

skip-chars-forward is a function defined in syntax.c.

Signature

(skip-chars-forward STRING &optional LIM)

Documentation

Move point forward, stopping before a char not in STRING, or at pos LIM.

STRING is like the inside of a [...] in a regular expression except that ] is never special and \ quotes ^, - or \
 (but not at the end of a range; quoting is never needed there).
Thus, with arg "a-zA-Z", this skips letters stopping before first nonletter. With arg "^a-zA-Z", skips nonletters stopping before first letter. Char classes, e.g. [:alpha:], are supported.

Returns the distance traveled, either zero or positive.

Probably introduced at or before Emacs version 22.1.

Source Code

// Defined in /usr/src/emacs/src/syntax.c
{
  return skip_chars (1, string, lim, 1);
}