changeset 66736:8bf6bc8d7145

(flyspell-external-point-words): flyspell-get-word returns a list, not just a string.
author Richard M. Stallman <rms@gnu.org>
date Mon, 07 Nov 2005 00:50:01 +0000
parents 11893f0cbfb1
children 09cf7401d368
files lisp/textmodes/flyspell.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el	Mon Nov 07 00:49:17 2005 +0000
+++ b/lisp/textmodes/flyspell.el	Mon Nov 07 00:50:01 2005 +0000
@@ -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))
 			      nil
 			    (flyspell-word))))