summaryrefslogtreecommitdiff
path: root/lisp/textmodes/spell.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1991-05-09 21:50:55 +0000
committerJim Blandy <jimb@redhat.com>1991-05-09 21:50:55 +0000
commitf9f9507e1d3202408b73b0c32a6e504502a70d5e (patch)
treef53ad33f6276bfcd7d883fc82c7a6f8795c80f6a /lisp/textmodes/spell.el
parent745bc783eb8bd84b07a7d512660947ec214e71eb (diff)
downloademacs-f9f9507e1d3202408b73b0c32a6e504502a70d5e.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp/textmodes/spell.el')
-rw-r--r--lisp/textmodes/spell.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el
index d7cd286141b..b3157f3c1b1 100644
--- a/lisp/textmodes/spell.el
+++ b/lisp/textmodes/spell.el
@@ -26,6 +26,7 @@
This function might remove text-processor commands.
nil means don't alter the text before checking it.")
+;;;###autoload
(defun spell-buffer ()
"Check spelling of every word in the buffer.
For each incorrect word, you are asked for the correct spelling
@@ -35,6 +36,7 @@ as its \"correct\" spelling; then the query replace is skipped."
(interactive)
(spell-region (point-min) (point-max) "buffer"))
+;;;###autoload
(defun spell-word ()
"Check spelling of word at or before point.
If it is not correct, ask user for the correct spelling
@@ -49,6 +51,7 @@ and query-replace the entire buffer to substitute it."
(setq end (point)))
(spell-region beg end (buffer-substring beg end))))
+;;;###autoload
(defun spell-region (start end &optional description)
"Like spell-buffer but applies only to region.
Used in a program, applies from START to END.
@@ -110,6 +113,7 @@ for example, \"word\"."
newword)))))))
+;;;###autoload
(defun spell-string (string)
"Check spelling of string supplied as argument."
(interactive "sSpell string: ")