[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el,v

From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/ispell.el,v
Date: Thu, 18 Oct 2007 00:07:49 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Juri Linkov <jurta>     07/10/18 00:07:49

Index: ispell.el
RCS file: /sources/emacs/emacs/lisp/textmodes/ispell.el,v
retrieving revision 1.214
retrieving revision 1.215
diff -u -b -r1.214 -r1.215
--- ispell.el   14 Oct 2007 20:40:53 -0000      1.214
+++ ispell.el   18 Oct 2007 00:07:48 -0000      1.215
@@ -1566,7 +1566,7 @@
        (translate-region pos (point) translation-table-for-input))))
-(defun ispell-word (&optional following quietly continue)
+(defun ispell-word (&optional following quietly continue region)
   "Check spelling of word under or before the cursor.
 If the word is not found in dictionary, display possible corrections
 in a window allowing you to choose one.
@@ -1580,6 +1580,9 @@
 With a prefix argument (or if CONTINUE is non-nil),
 resume interrupted spell-checking of a buffer or region.
+Interactively, in Transient Mark mode when the mark is active, call
+`ispell-region' to check the active region for spelling errors.
 Word syntax is controlled by the definition of the chosen dictionary,
 which is in `ispell-local-dictionary-alist' or `ispell-dictionary-alist'.
@@ -1592,10 +1595,9 @@
 \"word\"        word corrected from word list.
 \(\"word\" arg\)  word is hand entered.
 quit          spell session exited."
-  (interactive (list ispell-following-word ispell-quietly current-prefix-arg))
+  (interactive (list ispell-following-word ispell-quietly current-prefix-arg 
-   ((and transient-mark-mode mark-active
+   ((and region transient-mark-mode mark-active
         (not (eq (region-beginning) (region-end))))
     (ispell-region (region-beginning) (region-end)))
    (continue (ispell-continue))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]