aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-11-07 00:50:01 +0000
committerRichard M. Stallman2005-11-07 00:50:01 +0000
commitd21d2c23acbcf8e3facb3f7c2914243fcd5fe967 (patch)
treeeead452aef58078be25e232ce130dd4fb131975e
parent8dfb3e16101f355f731da5272cac6266aec06af3 (diff)
downloademacs-d21d2c23acbcf8e3facb3f7c2914243fcd5fe967.tar.gz
emacs-d21d2c23acbcf8e3facb3f7c2914243fcd5fe967.zip
(flyspell-external-point-words):
flyspell-get-word returns a list, not just a string.
-rw-r--r--lisp/textmodes/flyspell.el2
1 files changed, 1 insertions, 1 deletions
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'."
1362 ;; Detect when WORD can't be checked properly 1362 ;; Detect when WORD can't be checked properly
1363 ;; because flyspell-get-word finds 1363 ;; because flyspell-get-word finds
1364 ;; just part of it, and treat that as ok. 1364 ;; just part of it, and treat that as ok.
1365 (if (< (length (flyspell-get-word nil)) 1365 (if (< (length (car (flyspell-get-word nil)))
1366 (length word)) 1366 (length word))
1367 nil 1367 nil
1368 (flyspell-word)))) 1368 (flyspell-word))))