mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
41 lines
2.6 KiB
Text
41 lines
2.6 KiB
Text
|
||
(defvar spell-command "spell" "\
|
||
*Command to run the spell program.")
|
||
|
||
(defvar spell-filter nil "\
|
||
*Filter function to process text before passing it to spell program.
|
||
This function might remove text-processor commands.
|
||
nil means don't alter the text before checking it.")
|
||
|
||
(defun spell-buffer nil "\
|
||
Check spelling of every word in the buffer.
|
||
For each incorrect word, you are asked for the correct spelling
|
||
and then put into a query-replace to fix some or all occurrences.
|
||
If you do not want to change a word, just give the same word
|
||
as its \"correct\" spelling; then the query replace is skipped." (interactive) (byte-code "ÀˆÁedÂ#‡" [nil spell-region "buffer"] 4))
|
||
|
||
(defun spell-word nil "\
|
||
Check spelling of word at or before point.
|
||
If it is not correct, ask user for the correct spelling
|
||
and query-replace the entire buffer to substitute it." (interactive) (byte-code "ÈÃÃÊÄÅ!?… |