* subr.el (sit-for): Fix obsolete form for nil second argument.
+ * textmodes/spell.el (spell-buffer, spell-word, spell-region)
+ (spell-string): Make obsolete, in favor of ispell.
+
2008-02-21 Kenichi Handa <handa@ni.aist.go.jp>
* composite.el (compose-chars-after): Fix arguments for a function
as its \"correct\" spelling; then the query replace is skipped."
(interactive)
(spell-region (point-min) (point-max) "buffer"))
+;;;###autoload
+(make-obsolete 'spell-buffer 'ispell-buffer "23.1")
;;;###autoload
(defun spell-word ()
(forward-word 1)
(setq end (point)))
(spell-region beg end (buffer-substring beg end))))
+;;;###autoload
+(make-obsolete 'spell-word 'ispell-word "23.1")
;;;###autoload
(defun spell-region (start end &optional description)
(goto-char (point-min))
(query-replace-regexp (concat "\\b" (regexp-quote word) "\\b")
newword)))))))
-
+;;;###autoload
+(make-obsolete 'spell-region 'ispell-region "23.1")
;;;###autoload
(defun spell-string (string)
(while (search-forward "\n" nil t)
(replace-match " "))
(message "%sincorrect" (buffer-substring 1 (point-max)))))))
+;;;###autoload
+(make-obsolete 'spell-string "The `spell' package is obsolete - use `ispell'."
+ "23.1")
(provide 'spell)