[Top][All Lists]

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

Re: flyspell bug

From: Piet van Oostrum
Subject: Re: flyspell bug
Date: Fri, 04 Nov 2005 10:20:50 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

>>>>> Slawomir Nowaczyk <address@hidden> (SN) wrote:

>SN> Well, that's strange... for me it doesn't:
>SN> http://www.cs.lth.se/~slawek/flyspell.jpg

>SN> running "emacs --no-init-file --no-site-file" on Windows (I don't see
>SN> how it could be OS-related, but maybe?), English dictionary and
>SN> ispell.

I found that I used my own code rather than the CVS code. I forgot a part
of my patch. Here is the rest.

diff -u /Users/piet/Projects/cvs/emacs/lisp/textmodes/flyspell.el.\~1.84.\~ 
--- /Users/piet/Projects/cvs/emacs/lisp/textmodes/flyspell.el.~1.84.~   
2005-11-04 10:13:37.000000000 +0100
+++ /Users/piet/Projects/cvs/emacs/lisp/textmodes/flyspell.el   2005-11-04 
10:16:39.000000000 +0100
@@ -1362,7 +1362,7 @@
                          ;; Detect when WORD can't be checked properly
                          ;; because flyspell-get-word finds
                          ;; just part of it, and treat that as ok.
-                         (if (< (length (flyspell-get-word nil))
+                         (if (< (length (car (flyspell-get-word nil)))
                                 (length word))

Piet van Oostrum <address@hidden>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: address@hidden

reply via email to

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