Function: tpu-spell-check

tpu-spell-check is an interactive and byte-compiled function defined in tpu-edt.el.gz.

Signature

(tpu-spell-check)

Documentation

Check the spelling of the region, or of the entire buffer, if no region is selected.

Key Bindings

Aliases

spell SPELL

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/tpu-edt.el.gz
(defun tpu-spell-check nil
  "Check the spelling of the region, or of the entire buffer,
if no region is selected."
  (interactive)
  (let ((m (tpu-mark)))
    (apply #'ispell-region
           (if m
               (if (> m (point)) (list (point) m)
                 (list m (point)))
             (list (point-min) (point-max))))
    (if m (tpu-unselect t))))