Function: c-skip-ws-chars-forward
c-skip-ws-chars-forward is a macro defined in cc-defs.el.gz.
Signature
(c-skip-ws-chars-forward STRING &optional LIM)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-defs.el.gz
(defmacro c-skip-ws-chars-forward (string &optional lim)
;; Move point forward, stopping before a char which isn't in STRING, or a
;; char whose syntax isn't whitespace or comment-end, or at pos LIM.
;; Note that \n usually has comment-end syntax.
;;
;; Returns the distance traveled, either zero or positive.
(declare (debug t))
`(let ((-lim- ,lim)
(here (point))
count)
(setq count (skip-chars-forward ,string -lim-))
(when (> count 0)
(goto-char here)
(setq count (skip-syntax-forward " >" (+ here count))))
count))