From d21d2c23acbcf8e3facb3f7c2914243fcd5fe967 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 7 Nov 2005 00:50:01 +0000 Subject: [PATCH] (flyspell-external-point-words): flyspell-get-word returns a list, not just a string. --- lisp/textmodes/flyspell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 0f0394ad4ea..a4d77213aec 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -1362,7 +1362,7 @@ The buffer to mark them in is `flyspell-large-region-buffer'." ;; 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)))) -- 2.11.4.GIT