changeset 22461:8a7cf102704d

(ispell-region): Return non-nil if not aborted. (ispell-highlight-spelling-error-generic): Fix doc typo.
author Richard M. Stallman <rms@gnu.org>
date Sat, 13 Jun 1998 04:06:46 +0000
parents 7ca919476042
children 198054d3498c
files lisp/textmodes/ispell.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Sat Jun 13 01:41:23 1998 +0000
+++ b/lisp/textmodes/ispell.el	Sat Jun 13 04:06:46 1998 +0000
@@ -1559,7 +1559,7 @@
   "Highlight the word from START to END with a kludge using `inverse-video'.
 When the optional third arg HIGHLIGHT is set, the word is highlighted;
 otherwise it is displayed normally.
-Uses block cursor to highlight one charcater.
+Uses block cursor to highlight one character.
 Optional REFRESH will unhighlighted then highlight, using block cursor
  highlighting when REFRESH is equal to `block'."
   (and (eq 'block ispell-highlight-p)
@@ -1893,7 +1893,8 @@
 
 ;;;###autoload
 (defun ispell-region (reg-start reg-end)
-  "Interactively check a region for spelling errors."
+  "Interactively check a region for spelling errors.
+Return non-nil if not aborted."
   (interactive "r")			; Don't flag errors on read-only bufs.
   (ispell-accept-buffer-local-defs)	; set up dictionary, local words, etc.
   (unwind-protect
@@ -1958,7 +1959,7 @@
 		(if string		; there is something to spell check!
 		    (ispell-process-line string)) ; (special start end)
 		(goto-char end)))))
-	;;(not ispell-quit) ??? kss
+	(not ispell-quit)
 	)
     ;; protected
     (if (get-buffer ispell-choices-buffer)