From: Richard M. Stallman Date: Mon, 7 Nov 2005 00:50:01 +0000 (+0000) Subject: (flyspell-external-point-words): X-Git-Tag: emacs-pretest-22.0.90~6024 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d21d2c23acbcf8e3facb3f7c2914243fcd5fe967;p=emacs.git (flyspell-external-point-words): flyspell-get-word returns a list, not just a string. --- 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))))