Function: ediff-forward-word

ediff-forward-word is a byte-compiled function defined in ediff-diff.el.gz.

Signature

(ediff-forward-word)

Documentation

Move point one word forward.

There are four types of words, each of which consists entirely of characters in ediff-word-1, ediff-word-2, ediff-word-3, or ediff-word-4. Words are recognized by passing these one after another as arguments to skip-chars-forward.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/ediff-diff.el.gz
;; Split region along word boundaries. Each word will be on its own line.
;; Output to buffer out-buffer.
(defun ediff-forward-word ()
  "Move point one word forward.
There are four types of words, each of which consists entirely of
characters in `ediff-word-1', `ediff-word-2', `ediff-word-3', or
`ediff-word-4'.  Words are recognized by passing these one after another as
arguments to `skip-chars-forward'."
  (or (> (+ (skip-chars-forward ediff-word-1)
	    (skip-syntax-forward "w"))
	 0)
      (> (skip-chars-forward ediff-word-2) 0)
      (> (skip-chars-forward ediff-word-3) 0)
      (> (skip-chars-forward ediff-word-4) 0)
      ))