Function: vi-verify-spelling
vi-verify-spelling is an interactive and byte-compiled function
defined in vi.el.gz.
Signature
(vi-verify-spelling ARG UNIT)
Documentation
Verify spelling for the objects specified by char UNIT : [b(uffer), r(egion), s(tring), w(ord) ].
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/vi.el.gz
(defun vi-verify-spelling (arg unit)
"Verify spelling for the objects specified by char UNIT : [b(uffer),
r(egion), s(tring), w(ord) ]."
(interactive "P\nc")
(setq prefix-arg arg) ; seems not needed
(cond ((char-equal unit ?b) (call-interactively 'spell-buffer))
((char-equal unit ?r) (call-interactively 'spell-region))
((char-equal unit ?s) (call-interactively 'spell-string))
((char-equal unit ?w) (call-interactively 'spell-word))
(t (message "Spell check: b(uffer), r(egion), s(tring), w(ord)")
(setq unit (read-char))
(vi-verify-spelling arg unit))))