(flyspell-external-point-words):

flyspell-get-word returns a list, not just a string.
This commit is contained in:
Richard M. Stallman
2005-11-07 00:50:01 +00:00
parent 8dfb3e1610
commit d21d2c23ac

View File

@@ -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))))