Function: edt-sentence-forward

edt-sentence-forward is an interactive and byte-compiled function defined in edt.el.gz.

Signature

(edt-sentence-forward NUM)

Documentation

Move forward to start of next sentence.

Argument NUM is the positive number of sentences to move.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/edt.el.gz
;;;
;;; SENTENCE
;;;

(defun edt-sentence-forward (num)
  "Move forward to start of next sentence.
Argument NUM is the positive number of sentences to move."
  (interactive "p")
  (edt-check-prefix num)
  (edt-with-position
   (if (eobp)
       (error "End of buffer")
     (forward-sentence num)
     (forward-word 1)
     (backward-sentence))
   (if (> (point) far)
       (let ((left (save-excursion (forward-line height))))
         (recenter (if (zerop left) top-margin (- left bottom-up-margin))))
     (and (> (point) bottom) (recenter bottom-margin)))))