changeset 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 d4bc6b8ae712
children 8df54e3c1f25
files lisp/textmodes/flyspell.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))))