diff lisp/textmodes/flyspell.el @ 66628:7a2cc9f4b600

(flyspell-external-point-words): Pass nil to flyspell-get-word.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Nov 2005 01:33:55 +0000
parents 0a53832a48ce
children 344a573ab7a3
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el	Wed Nov 02 01:21:56 2005 +0000
+++ b/lisp/textmodes/flyspell.el	Wed Nov 02 01:33:55 2005 +0000
@@ -1360,7 +1360,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 following))
+			  (if (< (length (flyspell-get-word nil))
 				 (length word))
 			      nil
 			    (flyspell-word))))